public class org.bouncycastle.cert.jcajce.JcaX509ExtensionUtils extends org.bouncycastle.cert.X509ExtensionUtils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.cert.jcajce.JcaX509ExtensionUtils
super_class: org.bouncycastle.cert.X509ExtensionUtils
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
new org.bouncycastle.cert.jcajce.JcaX509ExtensionUtils$SHA1DigestCalculator
dup
ldc "SHA1"
invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;)Ljava/security/MessageDigest;
invokespecial org.bouncycastle.cert.jcajce.JcaX509ExtensionUtils$SHA1DigestCalculator.<init>:(Ljava/security/MessageDigest;)V
invokespecial org.bouncycastle.cert.X509ExtensionUtils.<init>:(Lorg/bouncycastle/operator/DigestCalculator;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/jcajce/JcaX509ExtensionUtils;
Exceptions:
throws java.security.NoSuchAlgorithmException
public void <init>(org.bouncycastle.operator.DigestCalculator);
descriptor: (Lorg/bouncycastle/operator/DigestCalculator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.bouncycastle.cert.X509ExtensionUtils.<init>:(Lorg/bouncycastle/operator/DigestCalculator;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/jcajce/JcaX509ExtensionUtils;
0 2 1 calculator Lorg/bouncycastle/operator/DigestCalculator;
MethodParameters:
Name Flags
calculator
public org.bouncycastle.asn1.x509.AuthorityKeyIdentifier createAuthorityKeyIdentifier(java.security.cert.X509Certificate);
descriptor: (Ljava/security/cert/X509Certificate;)Lorg/bouncycastle/asn1/x509/AuthorityKeyIdentifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.bouncycastle.cert.jcajce.JcaX509CertificateHolder
dup
aload 1
invokespecial org.bouncycastle.cert.jcajce.JcaX509CertificateHolder.<init>:(Ljava/security/cert/X509Certificate;)V
invokespecial org.bouncycastle.cert.X509ExtensionUtils.createAuthorityKeyIdentifier:(Lorg/bouncycastle/cert/X509CertificateHolder;)Lorg/bouncycastle/asn1/x509/AuthorityKeyIdentifier;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cert/jcajce/JcaX509ExtensionUtils;
0 1 1 cert Ljava/security/cert/X509Certificate;
Exceptions:
throws java.security.cert.CertificateEncodingException
MethodParameters:
Name Flags
cert
public org.bouncycastle.asn1.x509.AuthorityKeyIdentifier createAuthorityKeyIdentifier(java.security.PublicKey);
descriptor: (Ljava/security/PublicKey;)Lorg/bouncycastle/asn1/x509/AuthorityKeyIdentifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface java.security.PublicKey.getEncoded:()[B
invokestatic org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
invokespecial org.bouncycastle.cert.X509ExtensionUtils.createAuthorityKeyIdentifier:(Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;)Lorg/bouncycastle/asn1/x509/AuthorityKeyIdentifier;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cert/jcajce/JcaX509ExtensionUtils;
0 1 1 pubKey Ljava/security/PublicKey;
MethodParameters:
Name Flags
pubKey
public org.bouncycastle.asn1.x509.AuthorityKeyIdentifier createAuthorityKeyIdentifier(java.security.PublicKey, javax.security.auth.x500.X500Principal, java.math.BigInteger);
descriptor: (Ljava/security/PublicKey;Ljavax/security/auth/x500/X500Principal;Ljava/math/BigInteger;)Lorg/bouncycastle/asn1/x509/AuthorityKeyIdentifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokeinterface java.security.PublicKey.getEncoded:()[B
invokestatic org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
new org.bouncycastle.asn1.x509.GeneralNames
dup
new org.bouncycastle.asn1.x509.GeneralName
dup
aload 2
invokevirtual javax.security.auth.x500.X500Principal.getEncoded:()[B
invokestatic org.bouncycastle.asn1.x500.X500Name.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x500/X500Name;
invokespecial org.bouncycastle.asn1.x509.GeneralName.<init>:(Lorg/bouncycastle/asn1/x500/X500Name;)V
invokespecial org.bouncycastle.asn1.x509.GeneralNames.<init>:(Lorg/bouncycastle/asn1/x509/GeneralName;)V
aload 3
invokespecial org.bouncycastle.cert.X509ExtensionUtils.createAuthorityKeyIdentifier:(Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;Lorg/bouncycastle/asn1/x509/GeneralNames;Ljava/math/BigInteger;)Lorg/bouncycastle/asn1/x509/AuthorityKeyIdentifier;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cert/jcajce/JcaX509ExtensionUtils;
0 1 1 pubKey Ljava/security/PublicKey;
0 1 2 name Ljavax/security/auth/x500/X500Principal;
0 1 3 serial Ljava/math/BigInteger;
MethodParameters:
Name Flags
pubKey
name
serial
public org.bouncycastle.asn1.x509.AuthorityKeyIdentifier createAuthorityKeyIdentifier(java.security.PublicKey, org.bouncycastle.asn1.x509.GeneralNames, java.math.BigInteger);
descriptor: (Ljava/security/PublicKey;Lorg/bouncycastle/asn1/x509/GeneralNames;Ljava/math/BigInteger;)Lorg/bouncycastle/asn1/x509/AuthorityKeyIdentifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokeinterface java.security.PublicKey.getEncoded:()[B
invokestatic org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
aload 2
aload 3
invokespecial org.bouncycastle.cert.X509ExtensionUtils.createAuthorityKeyIdentifier:(Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;Lorg/bouncycastle/asn1/x509/GeneralNames;Ljava/math/BigInteger;)Lorg/bouncycastle/asn1/x509/AuthorityKeyIdentifier;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cert/jcajce/JcaX509ExtensionUtils;
0 1 1 pubKey Ljava/security/PublicKey;
0 1 2 generalNames Lorg/bouncycastle/asn1/x509/GeneralNames;
0 1 3 serial Ljava/math/BigInteger;
MethodParameters:
Name Flags
pubKey
generalNames
serial
public org.bouncycastle.asn1.x509.SubjectKeyIdentifier createSubjectKeyIdentifier(java.security.PublicKey);
descriptor: (Ljava/security/PublicKey;)Lorg/bouncycastle/asn1/x509/SubjectKeyIdentifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface java.security.PublicKey.getEncoded:()[B
invokestatic org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
invokespecial org.bouncycastle.cert.X509ExtensionUtils.createSubjectKeyIdentifier:(Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;)Lorg/bouncycastle/asn1/x509/SubjectKeyIdentifier;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cert/jcajce/JcaX509ExtensionUtils;
0 1 1 publicKey Ljava/security/PublicKey;
MethodParameters:
Name Flags
publicKey
public org.bouncycastle.asn1.x509.SubjectKeyIdentifier createTruncatedSubjectKeyIdentifier(java.security.PublicKey);
descriptor: (Ljava/security/PublicKey;)Lorg/bouncycastle/asn1/x509/SubjectKeyIdentifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface java.security.PublicKey.getEncoded:()[B
invokestatic org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
invokespecial org.bouncycastle.cert.X509ExtensionUtils.createTruncatedSubjectKeyIdentifier:(Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;)Lorg/bouncycastle/asn1/x509/SubjectKeyIdentifier;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cert/jcajce/JcaX509ExtensionUtils;
0 1 1 publicKey Ljava/security/PublicKey;
MethodParameters:
Name Flags
publicKey
public static org.bouncycastle.asn1.ASN1Primitive parseExtensionValue(byte[]);
descriptor: ([B)Lorg/bouncycastle/asn1/ASN1Primitive;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.bouncycastle.asn1.ASN1OctetString.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1OctetString;
invokevirtual org.bouncycastle.asn1.ASN1OctetString.getOctets:()[B
invokestatic org.bouncycastle.asn1.ASN1Primitive.fromByteArray:([B)Lorg/bouncycastle/asn1/ASN1Primitive;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 encExtValue [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
encExtValue
public static java.util.Collection getIssuerAlternativeNames(java.security.cert.X509Certificate);
descriptor: (Ljava/security/cert/X509Certificate;)Ljava/util/Collection;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getstatic org.bouncycastle.asn1.x509.Extension.issuerAlternativeName:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.getId:()Ljava/lang/String;
invokevirtual java.security.cert.X509Certificate.getExtensionValue:(Ljava/lang/String;)[B
astore 1
start local 1 1: aload 1
invokestatic org.bouncycastle.cert.jcajce.JcaX509ExtensionUtils.getAlternativeNames:([B)Ljava/util/Collection;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 cert Ljava/security/cert/X509Certificate;
1 2 1 extVal [B
Exceptions:
throws java.security.cert.CertificateParsingException
MethodParameters:
Name Flags
cert
public static java.util.Collection getSubjectAlternativeNames(java.security.cert.X509Certificate);
descriptor: (Ljava/security/cert/X509Certificate;)Ljava/util/Collection;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getstatic org.bouncycastle.asn1.x509.Extension.subjectAlternativeName:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.getId:()Ljava/lang/String;
invokevirtual java.security.cert.X509Certificate.getExtensionValue:(Ljava/lang/String;)[B
astore 1
start local 1 1: aload 1
invokestatic org.bouncycastle.cert.jcajce.JcaX509ExtensionUtils.getAlternativeNames:([B)Ljava/util/Collection;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 cert Ljava/security/cert/X509Certificate;
1 2 1 extVal [B
Exceptions:
throws java.security.cert.CertificateParsingException
MethodParameters:
Name Flags
cert
private static java.util.Collection getAlternativeNames(byte[]);
descriptor: ([B)Ljava/util/Collection;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: getstatic java.util.Collections.EMPTY_LIST:Ljava/util/List;
areturn
2: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 3: aload 0
invokestatic org.bouncycastle.cert.jcajce.JcaX509ExtensionUtils.parseExtensionValue:([B)Lorg/bouncycastle/asn1/ASN1Primitive;
invokestatic org.bouncycastle.asn1.DERSequence.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1Sequence;
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjects:()Ljava/util/Enumeration;
astore 2
start local 2 4: goto 21
5: StackMap locals: java.util.Collection java.util.Enumeration
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
invokestatic org.bouncycastle.asn1.x509.GeneralName.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/GeneralName;
astore 3
start local 3 6: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 7: aload 4
aload 3
invokevirtual org.bouncycastle.asn1.x509.GeneralName.getTagNo:()I
invokestatic org.bouncycastle.util.Integers.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: aload 3
invokevirtual org.bouncycastle.asn1.x509.GeneralName.getTagNo:()I
tableswitch { // 0 - 8
0: 9
1: 13
2: 13
3: 9
4: 11
5: 9
6: 13
7: 17
8: 15
default: 19
}
9: StackMap locals: org.bouncycastle.asn1.x509.GeneralName java.util.List
StackMap stack:
aload 4
aload 3
invokevirtual org.bouncycastle.asn1.x509.GeneralName.getName:()Lorg/bouncycastle/asn1/ASN1Encodable;
invokeinterface org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive:()Lorg/bouncycastle/asn1/ASN1Primitive;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: goto 20
11: StackMap locals:
StackMap stack:
aload 4
aload 3
invokevirtual org.bouncycastle.asn1.x509.GeneralName.getName:()Lorg/bouncycastle/asn1/ASN1Encodable;
invokestatic org.bouncycastle.asn1.x500.X500Name.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x500/X500Name;
invokevirtual org.bouncycastle.asn1.x500.X500Name.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
12: goto 20
13: StackMap locals:
StackMap stack:
aload 4
aload 3
invokevirtual org.bouncycastle.asn1.x509.GeneralName.getName:()Lorg/bouncycastle/asn1/ASN1Encodable;
checkcast org.bouncycastle.asn1.ASN1String
invokeinterface org.bouncycastle.asn1.ASN1String.getString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
14: goto 20
15: StackMap locals:
StackMap stack:
aload 4
aload 3
invokevirtual org.bouncycastle.asn1.x509.GeneralName.getName:()Lorg/bouncycastle/asn1/ASN1Encodable;
invokestatic org.bouncycastle.asn1.ASN1ObjectIdentifier.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.getId:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
16: goto 20
17: StackMap locals:
StackMap stack:
aload 4
aload 3
invokevirtual org.bouncycastle.asn1.x509.GeneralName.getName:()Lorg/bouncycastle/asn1/ASN1Encodable;
invokestatic org.bouncycastle.asn1.DEROctetString.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1OctetString;
invokevirtual org.bouncycastle.asn1.ASN1OctetString.getOctets:()[B
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
18: goto 20
19: StackMap locals:
StackMap stack:
new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Bad tag number: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual org.bouncycastle.asn1.x509.GeneralName.getTagNo:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals:
StackMap stack:
aload 1
aload 4
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
end local 4 end local 3 21: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 5
22: aload 1
invokestatic java.util.Collections.unmodifiableCollection:(Ljava/util/Collection;)Ljava/util/Collection;
23: areturn
end local 2 end local 1 24: StackMap locals: byte[]
StackMap stack: java.lang.Exception
astore 1
start local 1 25: new java.security.cert.CertificateParsingException
dup
aload 1
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokespecial java.security.cert.CertificateParsingException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 extVal [B
3 24 1 temp Ljava/util/Collection;
4 24 2 it Ljava/util/Enumeration;
6 21 3 genName Lorg/bouncycastle/asn1/x509/GeneralName;
7 21 4 list Ljava/util/List;
25 26 1 e Ljava/lang/Exception;
Exception table:
from to target type
2 23 24 Class java.lang.Exception
Exceptions:
throws java.security.cert.CertificateParsingException
MethodParameters:
Name Flags
extVal
}
SourceFile: "JcaX509ExtensionUtils.java"
NestMembers:
org.bouncycastle.cert.jcajce.JcaX509ExtensionUtils$SHA1DigestCalculator
InnerClasses:
private SHA1DigestCalculator = org.bouncycastle.cert.jcajce.JcaX509ExtensionUtils$SHA1DigestCalculator of org.bouncycastle.cert.jcajce.JcaX509ExtensionUtils