org.bouncycastle.oer.its.SubjectAssurance Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bcutil-jdk15on Show documentation
Show all versions of bcutil-jdk15on Show documentation
The Bouncy Castle Java APIs for ASN.1 extension and utility APIs used to support bcpkix and bctls. This jar contains APIs for JDK 1.5 and up.
The newest version!
package org.bouncycastle.oer.its;
import java.io.IOException;
import org.bouncycastle.asn1.ASN1Encodable;
import org.bouncycastle.asn1.DEROctetString;
public class SubjectAssurance
extends DEROctetString
{
public SubjectAssurance(byte[] string)
{
super(string);
}
public SubjectAssurance(ASN1Encodable obj)
throws IOException
{
super(obj);
}
public static SubjectAssurance getInstance(Object o)
{
if (o instanceof SubjectAssurance)
{
return (SubjectAssurance)o;
}
else
{
return new SubjectAssurance(DEROctetString.getInstance(o).getOctets());
}
}
}