コード例 #1
0
  public DEREncodable getId() {
    if (id instanceof ASN1TaggedObject) {
      return ASN1OctetString.getInstance((ASN1TaggedObject) id, false);
    }

    return IssuerAndSerialNumber.getInstance(id);
  }
コード例 #2
0
 public SubjectKeyIdentifier(ASN1OctetString keyid) {
   this.keyidentifier = keyid.getOctets();
 }
コード例 #3
0
 public static SubjectKeyIdentifier getInstance(ASN1TaggedObject obj, boolean explicit) {
   return getInstance(ASN1OctetString.getInstance(obj, explicit));
 }