public class org.bouncycastle.asn1.crmf.CertTemplate extends org.bouncycastle.asn1.ASN1Encodable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.asn1.crmf.CertTemplate
super_class: org.bouncycastle.asn1.ASN1Encodable
{
private org.bouncycastle.asn1.ASN1Sequence seq;
descriptor: Lorg/bouncycastle/asn1/ASN1Sequence;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.DERInteger version;
descriptor: Lorg/bouncycastle/asn1/DERInteger;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.DERInteger serialNumber;
descriptor: Lorg/bouncycastle/asn1/DERInteger;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.x509.AlgorithmIdentifier signingAlg;
descriptor: Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.x500.X500Name issuer;
descriptor: Lorg/bouncycastle/asn1/x500/X500Name;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.crmf.OptionalValidity validity;
descriptor: Lorg/bouncycastle/asn1/crmf/OptionalValidity;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.x500.X500Name subject;
descriptor: Lorg/bouncycastle/asn1/x500/X500Name;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKey;
descriptor: Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.DERBitString issuerUID;
descriptor: Lorg/bouncycastle/asn1/DERBitString;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.DERBitString subjectUID;
descriptor: Lorg/bouncycastle/asn1/DERBitString;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.x509.X509Extensions extensions;
descriptor: Lorg/bouncycastle/asn1/x509/X509Extensions;
flags: (0x0002) ACC_PRIVATE
private void <init>(org.bouncycastle.asn1.ASN1Sequence);
descriptor: (Lorg/bouncycastle/asn1/ASN1Sequence;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Encodable.<init>:()V
1: aload 0
aload 1
putfield org.bouncycastle.asn1.crmf.CertTemplate.seq:Lorg/bouncycastle/asn1/ASN1Sequence;
2: aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjects:()Ljava/util/Enumeration;
astore 2
start local 2 3: goto 27
4: StackMap locals: org.bouncycastle.asn1.crmf.CertTemplate org.bouncycastle.asn1.ASN1Sequence java.util.Enumeration
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast org.bouncycastle.asn1.ASN1TaggedObject
astore 3
start local 3 5: aload 3
invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.getTagNo:()I
tableswitch { // 0 - 9
0: 6
1: 8
2: 10
3: 12
4: 14
5: 16
6: 18
7: 20
8: 22
9: 24
default: 26
}
6: StackMap locals: org.bouncycastle.asn1.ASN1TaggedObject
StackMap stack:
aload 0
aload 3
iconst_0
invokestatic org.bouncycastle.asn1.DERInteger.getInstance:(Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/DERInteger;
putfield org.bouncycastle.asn1.crmf.CertTemplate.version:Lorg/bouncycastle/asn1/DERInteger;
7: goto 27
8: StackMap locals:
StackMap stack:
aload 0
aload 3
iconst_0
invokestatic org.bouncycastle.asn1.DERInteger.getInstance:(Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/DERInteger;
putfield org.bouncycastle.asn1.crmf.CertTemplate.serialNumber:Lorg/bouncycastle/asn1/DERInteger;
9: goto 27
10: StackMap locals:
StackMap stack:
aload 0
aload 3
iconst_0
invokestatic org.bouncycastle.asn1.x509.AlgorithmIdentifier.getInstance:(Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
putfield org.bouncycastle.asn1.crmf.CertTemplate.signingAlg:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
11: goto 27
12: StackMap locals:
StackMap stack:
aload 0
aload 3
iconst_1
invokestatic org.bouncycastle.asn1.x500.X500Name.getInstance:(Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/x500/X500Name;
putfield org.bouncycastle.asn1.crmf.CertTemplate.issuer:Lorg/bouncycastle/asn1/x500/X500Name;
13: goto 27
14: StackMap locals:
StackMap stack:
aload 0
aload 3
iconst_0
invokestatic org.bouncycastle.asn1.ASN1Sequence.getInstance:(Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/ASN1Sequence;
invokestatic org.bouncycastle.asn1.crmf.OptionalValidity.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/crmf/OptionalValidity;
putfield org.bouncycastle.asn1.crmf.CertTemplate.validity:Lorg/bouncycastle/asn1/crmf/OptionalValidity;
15: goto 27
16: StackMap locals:
StackMap stack:
aload 0
aload 3
iconst_1
invokestatic org.bouncycastle.asn1.x500.X500Name.getInstance:(Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/x500/X500Name;
putfield org.bouncycastle.asn1.crmf.CertTemplate.subject:Lorg/bouncycastle/asn1/x500/X500Name;
17: goto 27
18: StackMap locals:
StackMap stack:
aload 0
aload 3
iconst_0
invokestatic org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.getInstance:(Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
putfield org.bouncycastle.asn1.crmf.CertTemplate.publicKey:Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
19: goto 27
20: StackMap locals:
StackMap stack:
aload 0
aload 3
iconst_0
invokestatic org.bouncycastle.asn1.DERBitString.getInstance:(Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/DERBitString;
putfield org.bouncycastle.asn1.crmf.CertTemplate.issuerUID:Lorg/bouncycastle/asn1/DERBitString;
21: goto 27
22: StackMap locals:
StackMap stack:
aload 0
aload 3
iconst_0
invokestatic org.bouncycastle.asn1.DERBitString.getInstance:(Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/DERBitString;
putfield org.bouncycastle.asn1.crmf.CertTemplate.subjectUID:Lorg/bouncycastle/asn1/DERBitString;
23: goto 27
24: StackMap locals:
StackMap stack:
aload 0
aload 3
iconst_0
invokestatic org.bouncycastle.asn1.x509.X509Extensions.getInstance:(Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/x509/X509Extensions;
putfield org.bouncycastle.asn1.crmf.CertTemplate.extensions:Lorg/bouncycastle/asn1/x509/X509Extensions;
25: goto 27
26: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "unknown tag: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.getTagNo:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 27: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 4
28: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lorg/bouncycastle/asn1/crmf/CertTemplate;
0 29 1 seq Lorg/bouncycastle/asn1/ASN1Sequence;
3 29 2 en Ljava/util/Enumeration;
5 27 3 tObj Lorg/bouncycastle/asn1/ASN1TaggedObject;
MethodParameters:
Name Flags
seq
public static org.bouncycastle.asn1.crmf.CertTemplate getInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/bouncycastle/asn1/crmf/CertTemplate;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.bouncycastle.asn1.crmf.CertTemplate
ifeq 2
1: aload 0
checkcast org.bouncycastle.asn1.crmf.CertTemplate
areturn
2: StackMap locals:
StackMap stack:
aload 0
ifnull 4
3: new org.bouncycastle.asn1.crmf.CertTemplate
dup
aload 0
invokestatic org.bouncycastle.asn1.ASN1Sequence.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1Sequence;
invokespecial org.bouncycastle.asn1.crmf.CertTemplate.<init>:(Lorg/bouncycastle/asn1/ASN1Sequence;)V
areturn
4: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
public int getVersion();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.crmf.CertTemplate.version:Lorg/bouncycastle/asn1/DERInteger;
invokevirtual org.bouncycastle.asn1.DERInteger.getValue:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.intValue:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/crmf/CertTemplate;
public org.bouncycastle.asn1.DERInteger getSerialNumber();
descriptor: ()Lorg/bouncycastle/asn1/DERInteger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.crmf.CertTemplate.serialNumber:Lorg/bouncycastle/asn1/DERInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/crmf/CertTemplate;
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getSigningAlg();
descriptor: ()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.crmf.CertTemplate.signingAlg:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/crmf/CertTemplate;
public org.bouncycastle.asn1.x500.X500Name getIssuer();
descriptor: ()Lorg/bouncycastle/asn1/x500/X500Name;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.crmf.CertTemplate.issuer:Lorg/bouncycastle/asn1/x500/X500Name;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/crmf/CertTemplate;
public org.bouncycastle.asn1.crmf.OptionalValidity getValidity();
descriptor: ()Lorg/bouncycastle/asn1/crmf/OptionalValidity;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.crmf.CertTemplate.validity:Lorg/bouncycastle/asn1/crmf/OptionalValidity;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/crmf/CertTemplate;
public org.bouncycastle.asn1.x500.X500Name getSubject();
descriptor: ()Lorg/bouncycastle/asn1/x500/X500Name;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.crmf.CertTemplate.subject:Lorg/bouncycastle/asn1/x500/X500Name;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/crmf/CertTemplate;
public org.bouncycastle.asn1.x509.SubjectPublicKeyInfo getPublicKey();
descriptor: ()Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.crmf.CertTemplate.publicKey:Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/crmf/CertTemplate;
public void setPublicKey(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo);
descriptor: (Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.bouncycastle.asn1.crmf.CertTemplate.publicKey:Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/crmf/CertTemplate;
0 2 1 spki Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
MethodParameters:
Name Flags
spki
public org.bouncycastle.asn1.DERBitString getIssuerUID();
descriptor: ()Lorg/bouncycastle/asn1/DERBitString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.crmf.CertTemplate.issuerUID:Lorg/bouncycastle/asn1/DERBitString;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/crmf/CertTemplate;
public org.bouncycastle.asn1.DERBitString getSubjectUID();
descriptor: ()Lorg/bouncycastle/asn1/DERBitString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.crmf.CertTemplate.subjectUID:Lorg/bouncycastle/asn1/DERBitString;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/crmf/CertTemplate;
public org.bouncycastle.asn1.x509.X509Extensions getExtensions();
descriptor: ()Lorg/bouncycastle/asn1/x509/X509Extensions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.crmf.CertTemplate.extensions:Lorg/bouncycastle/asn1/x509/X509Extensions;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/crmf/CertTemplate;
public org.bouncycastle.asn1.DERObject toASN1Object();
descriptor: ()Lorg/bouncycastle/asn1/DERObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.crmf.CertTemplate.seq:Lorg/bouncycastle/asn1/ASN1Sequence;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/crmf/CertTemplate;
}
SourceFile: "CertTemplate.java"