public abstract class org.bouncycastle.operator.bc.BcAsymmetricKeyWrapper extends org.bouncycastle.operator.AsymmetricKeyWrapper
  minor version: 0
  major version: 59
  flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
  this_class: org.bouncycastle.operator.bc.BcAsymmetricKeyWrapper
  super_class: org.bouncycastle.operator.AsymmetricKeyWrapper
{
  private org.bouncycastle.crypto.params.AsymmetricKeyParameter publicKey;
    descriptor: Lorg/bouncycastle/crypto/params/AsymmetricKeyParameter;
    flags: (0x0002) ACC_PRIVATE

  private java.security.SecureRandom random;
    descriptor: Ljava/security/SecureRandom;
    flags: (0x0002) ACC_PRIVATE

  public void <init>(org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.crypto.params.AsymmetricKeyParameter);
    descriptor: (Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/crypto/params/AsymmetricKeyParameter;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // org.bouncycastle.operator.bc.BcAsymmetricKeyWrapper this
        start local 1 // org.bouncycastle.asn1.x509.AlgorithmIdentifier encAlgId
        start local 2 // org.bouncycastle.crypto.params.AsymmetricKeyParameter publicKey
         0: .line 24
            aload 0 /* this */
            aload 1 /* encAlgId */
            invokespecial org.bouncycastle.operator.AsymmetricKeyWrapper.<init>:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)V
         1: .line 26
            aload 0 /* this */
            aload 2 /* publicKey */
            putfield org.bouncycastle.operator.bc.BcAsymmetricKeyWrapper.publicKey:Lorg/bouncycastle/crypto/params/AsymmetricKeyParameter;
         2: .line 27
            return
        end local 2 // org.bouncycastle.crypto.params.AsymmetricKeyParameter publicKey
        end local 1 // org.bouncycastle.asn1.x509.AlgorithmIdentifier encAlgId
        end local 0 // org.bouncycastle.operator.bc.BcAsymmetricKeyWrapper this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    3     0       this  Lorg/bouncycastle/operator/bc/BcAsymmetricKeyWrapper;
            0    3     1   encAlgId  Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
            0    3     2  publicKey  Lorg/bouncycastle/crypto/params/AsymmetricKeyParameter;
    MethodParameters:
           Name  Flags
      encAlgId   
      publicKey  

  public org.bouncycastle.operator.bc.BcAsymmetricKeyWrapper setSecureRandom(java.security.SecureRandom);
    descriptor: (Ljava/security/SecureRandom;)Lorg/bouncycastle/operator/bc/BcAsymmetricKeyWrapper;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.bouncycastle.operator.bc.BcAsymmetricKeyWrapper this
        start local 1 // java.security.SecureRandom random
         0: .line 31
            aload 0 /* this */
            aload 1 /* random */
            putfield org.bouncycastle.operator.bc.BcAsymmetricKeyWrapper.random:Ljava/security/SecureRandom;
         1: .line 33
            aload 0 /* this */
            areturn
        end local 1 // java.security.SecureRandom random
        end local 0 // org.bouncycastle.operator.bc.BcAsymmetricKeyWrapper this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0    this  Lorg/bouncycastle/operator/bc/BcAsymmetricKeyWrapper;
            0    2     1  random  Ljava/security/SecureRandom;
    MethodParameters:
        Name  Flags
      random  

  public byte[] generateWrappedKey(org.bouncycastle.operator.GenericKey);
    descriptor: (Lorg/bouncycastle/operator/GenericKey;)[B
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=5, args_size=2
        start local 0 // org.bouncycastle.operator.bc.BcAsymmetricKeyWrapper this
        start local 1 // org.bouncycastle.operator.GenericKey encryptionKey
         0: .line 39
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual org.bouncycastle.operator.bc.BcAsymmetricKeyWrapper.getAlgorithmIdentifier:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
            invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getAlgorithm:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
            invokevirtual org.bouncycastle.operator.bc.BcAsymmetricKeyWrapper.createAsymmetricWrapper:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Lorg/bouncycastle/crypto/AsymmetricBlockCipher;
            astore 2 /* keyEncryptionCipher */
        start local 2 // org.bouncycastle.crypto.AsymmetricBlockCipher keyEncryptionCipher
         1: .line 41
            aload 0 /* this */
            getfield org.bouncycastle.operator.bc.BcAsymmetricKeyWrapper.publicKey:Lorg/bouncycastle/crypto/params/AsymmetricKeyParameter;
            astore 3 /* params */
        start local 3 // org.bouncycastle.crypto.CipherParameters params
         2: .line 42
            aload 0 /* this */
            getfield org.bouncycastle.operator.bc.BcAsymmetricKeyWrapper.random:Ljava/security/SecureRandom;
            ifnull 4
         3: .line 44
            new org.bouncycastle.crypto.params.ParametersWithRandom
            dup
            aload 3 /* params */
            aload 0 /* this */
            getfield org.bouncycastle.operator.bc.BcAsymmetricKeyWrapper.random:Ljava/security/SecureRandom;
            invokespecial org.bouncycastle.crypto.params.ParametersWithRandom.<init>:(Lorg/bouncycastle/crypto/CipherParameters;Ljava/security/SecureRandom;)V
            astore 3 /* params */
         4: .line 49
      StackMap locals: org.bouncycastle.crypto.AsymmetricBlockCipher org.bouncycastle.crypto.CipherParameters
      StackMap stack:
            aload 1 /* encryptionKey */
            invokestatic org.bouncycastle.operator.bc.OperatorUtils.getKeyBytes:(Lorg/bouncycastle/operator/GenericKey;)[B
            astore 4 /* keyEnc */
        start local 4 // byte[] keyEnc
         5: .line 50
            aload 2 /* keyEncryptionCipher */
            iconst_1
            aload 3 /* params */
            invokeinterface org.bouncycastle.crypto.AsymmetricBlockCipher.init:(ZLorg/bouncycastle/crypto/CipherParameters;)V
         6: .line 51
            aload 2 /* keyEncryptionCipher */
            aload 4 /* keyEnc */
            iconst_0
            aload 4 /* keyEnc */
            arraylength
            invokeinterface org.bouncycastle.crypto.AsymmetricBlockCipher.processBlock:([BII)[B
         7: areturn
        end local 4 // byte[] keyEnc
         8: .line 53
      StackMap locals:
      StackMap stack: org.bouncycastle.crypto.InvalidCipherTextException
            astore 4 /* e */
        start local 4 // org.bouncycastle.crypto.InvalidCipherTextException e
         9: .line 55
            new org.bouncycastle.operator.OperatorException
            dup
            ldc "unable to encrypt contents key"
            aload 4 /* e */
            invokespecial org.bouncycastle.operator.OperatorException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 4 // org.bouncycastle.crypto.InvalidCipherTextException e
        end local 3 // org.bouncycastle.crypto.CipherParameters params
        end local 2 // org.bouncycastle.crypto.AsymmetricBlockCipher keyEncryptionCipher
        end local 1 // org.bouncycastle.operator.GenericKey encryptionKey
        end local 0 // org.bouncycastle.operator.bc.BcAsymmetricKeyWrapper this
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0   10     0                 this  Lorg/bouncycastle/operator/bc/BcAsymmetricKeyWrapper;
            0   10     1        encryptionKey  Lorg/bouncycastle/operator/GenericKey;
            1   10     2  keyEncryptionCipher  Lorg/bouncycastle/crypto/AsymmetricBlockCipher;
            2   10     3               params  Lorg/bouncycastle/crypto/CipherParameters;
            5    8     4               keyEnc  [B
            9   10     4                    e  Lorg/bouncycastle/crypto/InvalidCipherTextException;
      Exception table:
        from    to  target  type
           4     7       8  Class org.bouncycastle.crypto.InvalidCipherTextException
    Exceptions:
      throws org.bouncycastle.operator.OperatorException
    MethodParameters:
               Name  Flags
      encryptionKey  

  protected abstract org.bouncycastle.crypto.AsymmetricBlockCipher createAsymmetricWrapper(org.bouncycastle.asn1.ASN1ObjectIdentifier);
    descriptor: (Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Lorg/bouncycastle/crypto/AsymmetricBlockCipher;
    flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
    MethodParameters:
           Name  Flags
      algorithm  
}
SourceFile: "BcAsymmetricKeyWrapper.java"