Class PublicEncryptionKey
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Object
-
- org.bouncycastle.oer.its.ieee1609dot2.basetypes.PublicEncryptionKey
-
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable,org.bouncycastle.util.Encodable
public class PublicEncryptionKey extends org.bouncycastle.asn1.ASN1ObjectPublicEncryptionKey ::= SEQUENCE { supportedSymmAlg SymmAlgorithm, publicKey BasePublicEncryptionKey }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPublicEncryptionKey.Builder
-
Constructor Summary
Constructors Constructor Description PublicEncryptionKey(SymmAlgorithm supportedSymmAlg, BasePublicEncryptionKey basePublicEncryptionKey)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PublicEncryptionKey.Builderbuilder()static PublicEncryptionKeygetInstance(java.lang.Object o)BasePublicEncryptionKeygetPublicKey()SymmAlgorithmgetSupportedSymmAlg()org.bouncycastle.asn1.ASN1PrimitivetoASN1Primitive()
-
-
-
Constructor Detail
-
PublicEncryptionKey
public PublicEncryptionKey(SymmAlgorithm supportedSymmAlg, BasePublicEncryptionKey basePublicEncryptionKey)
-
-
Method Detail
-
getInstance
public static PublicEncryptionKey getInstance(java.lang.Object o)
-
getSupportedSymmAlg
public SymmAlgorithm getSupportedSymmAlg()
-
getPublicKey
public BasePublicEncryptionKey getPublicKey()
-
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
- Specified by:
toASN1Primitivein interfaceorg.bouncycastle.asn1.ASN1Encodable- Specified by:
toASN1Primitivein classorg.bouncycastle.asn1.ASN1Object
-
builder
public static PublicEncryptionKey.Builder builder()
-
-