1
package org.bouncycastle.asn1;
3
import java.io.IOException;
6
* We insert one of these when we find a tag we don't recognise.
8
public class DERUnknownTag
15
* @param tag the tag value.
16
* @param data the octets making up the time.
31
public byte[] getData()
40
out.writeEncoded(tag, data);
43
public boolean equals(
46
if ((o == null) || !(o instanceof DERUnknownTag))
51
DERUnknownTag other = (DERUnknownTag)o;
58
if(data.length != other.data.length)
63
for(int i = 0; i < data.length; i++)
65
if(data[i] != other.data[i])
1
package org.bouncycastle.asn1;
3
import java.io.IOException;
6
* We insert one of these when we find a tag we don't recognise.
8
public class DERUnknownTag
15
* @param tag the tag value.
16
* @param data the octets making up the time.
31
public byte[] getData()
40
out.writeEncoded(tag, data);
43
public boolean equals(
46
if ((o == null) || !(o instanceof DERUnknownTag))
51
DERUnknownTag other = (DERUnknownTag)o;
58
if(data.length != other.data.length)
63
for(int i = 0; i < data.length; i++)
65
if(data[i] != other.data[i])