Uses of Interface
org.bouncycastle.asn1.ASN1Encodable
Packages that use ASN1Encodable
Package
Description
-
Uses of ASN1Encodable in org.bouncycastle.asn1
Subinterfaces of ASN1Encodable in org.bouncycastle.asn1Modifier and TypeInterfaceDescriptioninterfaceA basic parser for a BIT STRING objectinterfaceParser DER EXTERNAL tagged objects.interfaceA basic parser for an OCTET STRING objectinterfaceA basic parser for a SEQUENCE objectinterfaceA basic parser for a SET objectinterfaceInterface for the parsing of a generic tagged ASN.1 object.Classes in org.bouncycastle.asn1 that implement ASN1EncodableModifier and TypeClassDescriptionclassAn ASN1 class that encodes to nothing, used in the OER library to deal with the Optional type.classBase class for BIT STRING objectsclassASN.1 BMPString object encodes BMP (Basic Multilingual Plane) subset (aka UCS-2) of UNICODE (ISO 10646) characters in codepoints 0 to 65535.classPublic facade of ASN.1 Boolean data.classClass representing the ASN.1 ENUMERATED type.classClass representing the DER-type ExternalclassBase class representing the ASN.1 GeneralizedTime type.classASN.1 GENERAL-STRING data type.classclassASN.1 IA5String object - this is a ISO 646 (ASCII) string encoding code points 0 to 127.classClass representing the ASN.1 INTEGER type.classA NULL object - use DERNull.INSTANCE for populating structures.classNumericString object - this is an ascii string of characters {0,1,2,3,4,5,6,7,8,9, }.classBase class for defining an ASN.1 object.final classclassClass representing the ASN.1 OBJECT IDENTIFIER type.classAbstract base for the ASN.1 OCTET STRING data typeclassBase class for ASN.1 primitive objects.classASN.1 PrintableString object.classclassASN.1SEQUENCEandSEQUENCE OFconstructs.classASN.1SETandSET OFconstructs.classASN.1 T61String (also the teletex string), try not to use this if you don't need to.classASN.1 TaggedObject - in ASN.1 notation this is any object preceded by a [n] where n is some number - these are assumed to follow the construction rules (as with sequences).classASN.1 UniversalString object - encodes UNICODE (ISO 10646) characters using 32-bit format.class- * UTC time object.classclassclassASN.1 VisibleString object encoding ISO 646 (ASCII) character code points 32 to 126.classclassDeprecated.Check for 'ASN1BitStringParser' insteadclassASN.1 OctetStrings, with indefinite length rules, and constructed form support.classDeprecated.Check for 'ASN1OctetStringParser' insteadclassIndefinite length SEQUENCE of objects.classDeprecated.Check for 'ASN1SequenceParser' insteadclassIndefinite lengthSETandSET OFconstructs.classDeprecated.Check for 'ASN1SetParser' insteadclassBER TaggedObject - in ASN.1 notation this is any object preceded by a [n] where n is some number - these are assumed to follow the construction rules (as with sequences).classA BIT STRING with DER encoding - the first byte contains the count of padding bits included in the byte array's last byte.classDER BMPString object encodes BMP (Basic Multilingual Plane) subset (aka UCS-2) of UNICODE (ISO 10646) characters in codepoints 0 to 65535.classClass representing the DER-type ExternalclassParser DER EXTERNAL tagged objects.classDER Generalized time object.classASN.1 GENERAL-STRING data type.classclassDER IA5String object - this is a ISO 646 (ASCII) string encoding code points 0 to 127.classAn ASN.1 DER NULL object.classDER NumericString object - this is an ascii string of characters {0,1,2,3,4,5,6,7,8,9, }.classCarrier class for a DER encoding OCTET STRINGclassDeprecated.Check for 'ASN1OctetStringParser' insteadclassDER PrintableString object.classDefinite length SEQUENCE, encoding tells explicit number of bytes that the content of this sequence occupies.classA DER encoded SET objectclassDER T61String (also the teletex string), try not to use this if you don't need to.classDER TaggedObject - in ASN.1 notation this is any object preceded by a [n] where n is some number - these are assumed to follow the construction rules (as with sequences).classDER UniversalString object - encodes UNICODE (ISO 10646) characters using 32-bit format.classDER UTC time object.classDER UTF8String object.classclassDER VisibleString object encoding ISO 646 (ASCII) character code points 32 to 126.classA Definite length BIT STRINGclassDeprecated.Check for 'ASN1BitStringParser' insteadclassClass representing the Definite-Length-type ExternalclassThe DLSequence encodes a SEQUENCE using definite length form.classDeprecated.Check for 'ASN1SequenceParser' insteadclassThe DLSet encodes ASN.1 SET value without element ordering, and always using definite length form.classDeprecated.Check for 'ASN1SetParser' insteadclassDefinite Length TaggedObject - in ASN.1 notation this is any object preceded by a [n] where n is some number - these are assumed to follow the construction rules (as with sequences).Fields in org.bouncycastle.asn1 declared as ASN1EncodableModifier and TypeFieldDescriptionprotected final ASN1Encodable[]ASN1Set.elementsprotected ASN1Encodable[]ASN1Set.sortedElementsMethods in org.bouncycastle.asn1 that return ASN1EncodableModifier and TypeMethodDescriptionASN1EncodableVector.get(int i) Return the object at position i in this vector.ASN1Sequence.getObjectAt(int index) Return the object at the sequence position indicated by index.ASN1Set.getObjectAt(int index) return the object at the set position indicated by index.ASN1TaggedObject.parseBaseUniversal(boolean declaredExplicit, int baseTagNo) ASN1TaggedObjectParser.parseBaseUniversal(boolean declaredExplicit, int baseTagNo) static ASN1EncodableASN1Util.parseBaseUniversal(ASN1TaggedObjectParser taggedObjectParser, int tagClass, int tagNo, boolean declaredExplicit, int baseTagNo) static ASN1EncodableASN1Util.parseContextBaseUniversal(ASN1TaggedObjectParser taggedObjectParser, int tagNo, boolean declaredExplicit, int baseTagNo) ASN1TaggedObject.parseExplicitBaseObject()ASN1TaggedObjectParser.parseExplicitBaseObject()Needed for open types, until we have better type-guided parsing support.static ASN1EncodableASN1Util.parseExplicitBaseObject(ASN1TaggedObjectParser taggedObjectParser, int tagClass, int tagNo) static ASN1EncodableASN1Util.parseExplicitContextBaseObject(ASN1TaggedObjectParser taggedObjectParser, int tagNo) ASN1ExternalParser.readObject()Read the next object in the parser.ASN1SequenceParser.readObject()Read the next object from the underlying object representing a SEQUENCE.ASN1SetParser.readObject()Read the next object from the underlying object representing a SET.ASN1StreamParser.readObject()BERSequenceParser.readObject()Deprecated.Read the next object in the SEQUENCE.BERSetParser.readObject()Deprecated.Read the next object in the SET.DERExternalParser.readObject()DLSequenceParser.readObject()Deprecated.Return the next object in the SEQUENCE.DLSetParser.readObject()Deprecated.Return the next object in the SET.ASN1Sequence.toArray()ASN1Set.toArray()static ASN1EncodableASN1Util.tryParseBaseUniversal(ASN1TaggedObjectParser taggedObjectParser, int tagClass, int tagNo, boolean declaredExplicit, int baseTagNo) static ASN1EncodableASN1Util.tryParseContextBaseUniversal(ASN1TaggedObjectParser taggedObjectParser, int tagNo, boolean declaredExplicit, int baseTagNo) static ASN1EncodableASN1Util.tryParseExplicitBaseObject(ASN1TaggedObjectParser taggedObjectParser, int tagClass, int tagNo) static ASN1EncodableASN1Util.tryParseExplicitContextBaseObject(ASN1TaggedObjectParser taggedObjectParser, int tagNo) Methods in org.bouncycastle.asn1 that return types with arguments of type ASN1EncodableMethods in org.bouncycastle.asn1 with parameters of type ASN1EncodableModifier and TypeMethodDescriptionvoidASN1EncodableVector.add(ASN1Encodable element) voidASN1EncodableVector.addAll(ASN1Encodable[] others) voidBERSequenceGenerator.addObject(ASN1Encodable object) Add an object to the SEQUENCE being generated.voidDERSequenceGenerator.addObject(ASN1Encodable object) Add an object to the SEQUENCE being generated.final booleanASN1Primitive.equals(ASN1Encodable other) final voidASN1OutputStream.writeObject(ASN1Encodable encodable) Constructors in org.bouncycastle.asn1 with parameters of type ASN1EncodableModifierConstructorDescriptionprotectedASN1Sequence(ASN1Encodable element) Create a SEQUENCE containing one object.protectedASN1Sequence(ASN1Encodable[] elements) Create a SEQUENCE containing an array of objects.protectedASN1Set(ASN1Encodable element) Create a SET containing one objectprotectedASN1Set(ASN1Encodable[] elements, boolean doSort) Create a SET containing an array of objects.protectedASN1TaggedObject(boolean explicit, int tagClass, int tagNo, ASN1Encodable obj) protectedASN1TaggedObject(boolean explicit, int tagNo, ASN1Encodable obj) Create a tagged object with the style given by the value of explicit.BERSequence(ASN1Encodable element) Create a sequence containing one objectBERSequence(ASN1Encodable[] elements) Create a sequence containing an array of objects.BERSet(ASN1Encodable element) Create a SET containing one object.BERSet(ASN1Encodable[] elements) Create a SET from an array of objects.BERTaggedObject(boolean explicit, int tagClass, int tagNo, ASN1Encodable obj) BERTaggedObject(boolean explicit, int tagNo, ASN1Encodable obj) BERTaggedObject(int tagClass, int tagNo, ASN1Encodable obj) BERTaggedObject(int tagNo, ASN1Encodable obj) Constructor from the encoding of an ASN.1 object.DERSequence(ASN1Encodable element) Create a sequence containing one objectDERSequence(ASN1Encodable[] elements) Create a sequence containing an array of objects.DERSet(ASN1Encodable element) create a set containing one objectDERSet(ASN1Encodable[] elements) create a set containing an array of objects.DERTaggedObject(boolean explicit, int tagClass, int tagNo, ASN1Encodable obj) DERTaggedObject(boolean explicit, int tagNo, ASN1Encodable obj) DERTaggedObject(int tagClass, int tagNo, ASN1Encodable obj) DERTaggedObject(int tagNo, ASN1Encodable encodable) DLBitString(ASN1Encodable obj) DLSequence(ASN1Encodable element) create a sequence containing one objectDLSequence(ASN1Encodable[] elements) create a sequence containing an array of objects.DLSet(ASN1Encodable element) DLSet(ASN1Encodable[] elements) create a set from an array of objects.DLTaggedObject(boolean explicit, int tagClass, int tagNo, ASN1Encodable obj) DLTaggedObject(boolean explicit, int tagNo, ASN1Encodable obj) DLTaggedObject(int tagClass, int tagNo, ASN1Encodable encodable) DLTaggedObject(int tagNo, ASN1Encodable encodable) -
Uses of ASN1Encodable in org.bouncycastle.asn1.bc
Classes in org.bouncycastle.asn1.bc that implement ASN1EncodableModifier and TypeClassDescriptionclassEncryptedObjectStoreData ::= SEQUENCE { encryptionAlgorithm AlgorithmIdentifier encryptedContent OCTET STRING }classEncryptedPrivateKeyObjectData ::= SEQUENCE { encryptedPrivateKeyInfo EncryptedPrivateKeyInfo, certificates SEQUENCE OF Certificate }classEncryptedSecretKeyData ::= SEQUENCE { keyEncryptionAlgorithm AlgorithmIdentifier, encryptedKeyData OCTET STRING }classBased on External Keys And Signatures For Use In Internet PKI draft-ounsworth-pq-external-pubkeys-00classExtension to tie an alternate certificate to the containing certificate.classObjectData ::= SEQUENCE { type INTEGER, identifier UTF8String, creationDate GeneralizedTime, lastModifiedDate GeneralizedTime, data OCTET STRING, comment UTF8String OPTIONAL }classObjectDataSequence ::= SEQUENCE OF ObjectDataclassObjectStore ::= SEQUENCE { CHOICE { encryptedObjectStoreData EncryptedObjectStoreData, objectStoreData ObjectStoreData } integrityCheck ObjectStoreIntegrityCheck }classObjectStoreData ::= SEQUENCE { version INTEGER.classObjectStoreIntegrityCheck ::= CHOICE { PbkdMacIntegrityCheck [0] EXPLICIT SignatureCheck }classPbkdMacIntegrityCheck ::= SEQUENCE { macAlgorithm AlgorithmIdentifier, pbkdAlgorithm KeyDerivationFunc, mac OCTET STRING }classSecretKeyData ::= SEQUENCE { keyAlgorithm OBJECT IDENTIFIER, keyBytes OCTET STRING }classSignatureCheck ::= SEQUENCE { signatureAlgorithm AlgorithmIdentifier, certificates [0] EXPLICIT Certificates OPTIONAL, signatureValue BIT STRING } Certificates ::= SEQUENCE OF CertificateMethods in org.bouncycastle.asn1.bc that return ASN1EncodableMethods in org.bouncycastle.asn1.bc that return types with arguments of type ASN1Encodable -
Uses of ASN1Encodable in org.bouncycastle.asn1.cryptopro
Classes in org.bouncycastle.asn1.cryptopro that implement ASN1EncodableModifier and TypeClassDescriptionclassclassGost28147-89-EncryptedKey ::= SEQUENCE { encryptedKey Gost28147-89-Key, maskKey [0] IMPLICIT Gost28147-89-Key OPTIONAL, macKey Gost28147-89-MAC }classclassASN.1 algorithm identifier parameters for GOST-28147classclassclassGostR3410-KeyTransport ::= SEQUENCE { sessionEncryptedKey Gost28147-89-EncryptedKey, transportParameters [0] IMPLICIT GostR3410-TransportParameters OPTIONAL }classGostR3410-TransportParameters ::= SEQUENCE { encryptionParamSet OBJECT IDENTIFIER, ephemeralPublicKey [0] IMPLICIT SubjectPublicKeyInfo OPTIONAL, ukm OCTET STRING } -
Uses of ASN1Encodable in org.bouncycastle.asn1.nist
Classes in org.bouncycastle.asn1.nist that implement ASN1EncodableModifier and TypeClassDescriptionclassKMACwithSHAKE128-params ::= SEQUENCE { kMACOutputLength INTEGER DEFAULT 256, -- Output length in bits customizationString OCTET STRING DEFAULT ''H }classKMACwithSHAKE256-params ::= SEQUENCE { kMACOutputLength INTEGER DEFAULT 512, -- Output length in bits customizationString OCTET STRING DEFAULT ''H } -
Uses of ASN1Encodable in org.bouncycastle.asn1.ocsp
Classes in org.bouncycastle.asn1.ocsp that implement ASN1EncodableModifier and TypeClassDescriptionclassOCSP RFC 2560, RFC 6960classclassclassclassclassOCSP RFC 2560, RFC 6960classOCSP RFC 2560, RFC 6960classclassclassOCSP RFC 2560, RFC 6960classOCSP RFC 2560, RFC 6960classclassclassclassclassMethods in org.bouncycastle.asn1.ocsp that return ASN1EncodableConstructors in org.bouncycastle.asn1.ocsp with parameters of type ASN1Encodable -
Uses of ASN1Encodable in org.bouncycastle.asn1.pkcs
Classes in org.bouncycastle.asn1.pkcs that implement ASN1EncodableModifier and TypeClassDescriptionclassclassclassclassPKCS10 Certification request object.classPKCS10 CertificationRequestInfo object.classclassCRL Bag for PKCS#12classclassThe EncryptedData object.classclassclassclassclassclassclassclassPBKDF2-params ::= SEQUENCE { salt CHOICE { specified OCTET STRING, otherSource AlgorithmIdentifier {{PBKDF2-SaltSources}} }, iterationCount INTEGER (1..MAX), keyLength INTEGER (1..MAX) OPTIONAL, prf AlgorithmIdentifier {{PBKDF2-PRFs}} DEFAULT algid-hmacWithSHA1 }classFrom https://datatracker.ietf.org/doc/html/rfc8018classthe infamous Pfx from PKCS12classclassRFC 5958classclassclassclassDeprecated.use RSAPrivateKeyclassclassclassclassa PKCS#7 signed data object.classa PKCS#7 signer info object.Methods in org.bouncycastle.asn1.pkcs that return ASN1EncodableModifier and TypeMethodDescriptionAttribute.getAttributeValues()SafeBag.getBagValue()CertBag.getCertValue()ContentInfo.getContent()CRLBag.getCrlValue()EncryptionScheme.getParameters()KeyDerivationFunc.getParameters()PrivateKeyInfo.parsePrivateKey()PrivateKeyInfo.parsePublicKey()for when the public key is an encoded object - if the bitstring can't be decoded this routine throws an IOException.Constructors in org.bouncycastle.asn1.pkcs with parameters of type ASN1EncodableModifierConstructorDescriptionCertBag(ASN1ObjectIdentifier certId, ASN1Encodable certValue) ContentInfo(ASN1ObjectIdentifier contentType, ASN1Encodable content) CRLBag(ASN1ObjectIdentifier crlId, ASN1Encodable crlValue) EncryptedData(ASN1ObjectIdentifier contentType, AlgorithmIdentifier encryptionAlgorithm, ASN1Encodable content) EncryptionScheme(ASN1ObjectIdentifier objectId, ASN1Encodable parameters) KeyDerivationFunc(ASN1ObjectIdentifier objectId, ASN1Encodable parameters) PrivateKeyInfo(AlgorithmIdentifier privateKeyAlgorithm, ASN1Encodable privateKey) PrivateKeyInfo(AlgorithmIdentifier privateKeyAlgorithm, ASN1Encodable privateKey, ASN1Set attributes) PrivateKeyInfo(AlgorithmIdentifier privateKeyAlgorithm, ASN1Encodable privateKey, ASN1Set attributes, byte[] publicKey) SafeBag(ASN1ObjectIdentifier oid, ASN1Encodable obj) SafeBag(ASN1ObjectIdentifier oid, ASN1Encodable obj, ASN1Set bagAttributes) -
Uses of ASN1Encodable in org.bouncycastle.asn1.sec
Classes in org.bouncycastle.asn1.sec that implement ASN1EncodableModifier and TypeClassDescriptionclassthe elliptic curve private key object from SEC 1classDeprecated.use ECPrivateKeyConstructors in org.bouncycastle.asn1.sec with parameters of type ASN1EncodableModifierConstructorDescriptionECPrivateKey(int orderBitLength, BigInteger key, ASN1BitString publicKey, ASN1Encodable parameters) ECPrivateKey(int orderBitLength, BigInteger key, ASN1Encodable parameters) ECPrivateKey(BigInteger key, ASN1BitString publicKey, ASN1Encodable parameters) Deprecated.use constructor which takes orderBitLength to guarantee correct encoding.ECPrivateKey(BigInteger key, ASN1Encodable parameters) Deprecated.use constructor which takes orderBitLength to guarantee correct encoding.ECPrivateKeyStructure(BigInteger key, ASN1BitString publicKey, ASN1Encodable parameters) Deprecated.ECPrivateKeyStructure(BigInteger key, ASN1Encodable parameters) Deprecated. -
Uses of ASN1Encodable in org.bouncycastle.asn1.ua
Classes in org.bouncycastle.asn1.ua that implement ASN1EncodableModifier and TypeClassDescriptionclassclassclassclass -
Uses of ASN1Encodable in org.bouncycastle.asn1.util
Methods in org.bouncycastle.asn1.util with parameters of type ASN1EncodableModifier and TypeMethodDescriptionstatic StringDERDump.dumpAsString(ASN1Encodable obj) Deprecated.dump out a DER object as a formatted string -
Uses of ASN1Encodable in org.bouncycastle.asn1.x500
Classes in org.bouncycastle.asn1.x500 that implement ASN1EncodableModifier and TypeClassDescriptionclassHolding class for the AttributeTypeAndValue structures that make up an RDN.classThe DirectoryString CHOICE object.classHolding class for a single Relative Distinguished Name (RDN).classThe X.500 Name object.Methods in org.bouncycastle.asn1.x500 that return ASN1EncodableModifier and TypeMethodDescriptionAttributeTypeAndValue.getValue()X500NameStyle.stringToValue(ASN1ObjectIdentifier oid, String value) Convert the passed in String value into the appropriate ASN.1 encoded object.Methods in org.bouncycastle.asn1.x500 with parameters of type ASN1EncodableModifier and TypeMethodDescriptionX500NameBuilder.addMultiValuedRDN(ASN1ObjectIdentifier[] oids, ASN1Encodable[] values) Add a multi-valued RDN made up of the passed in OIDs and associated ASN.1 values.X500NameBuilder.addRDN(ASN1ObjectIdentifier oid, ASN1Encodable value) Add an RDN based on a single OID and an ASN.1 value.Constructors in org.bouncycastle.asn1.x500 with parameters of type ASN1EncodableModifierConstructorDescriptionAttributeTypeAndValue(ASN1ObjectIdentifier type, ASN1Encodable value) RDN(ASN1ObjectIdentifier oid, ASN1Encodable value) Create a single valued RDN. -
Uses of ASN1Encodable in org.bouncycastle.asn1.x500.style
Methods in org.bouncycastle.asn1.x500.style that return ASN1EncodableModifier and TypeMethodDescriptionprotected ASN1EncodableAbstractX500NameStyle.encodeStringValue(ASN1ObjectIdentifier oid, String value) Encoded every value into a UTF8String.protected ASN1EncodableBCStyle.encodeStringValue(ASN1ObjectIdentifier oid, String value) protected ASN1EncodableRFC4519Style.encodeStringValue(ASN1ObjectIdentifier oid, String value) AbstractX500NameStyle.stringToValue(ASN1ObjectIdentifier oid, String value) For all string values starting with '#' is assumed, that these are already valid ASN.1 objects encoded in hex.static ASN1EncodableIETFUtils.valueFromHexString(String str, int off) Methods in org.bouncycastle.asn1.x500.style with parameters of type ASN1EncodableModifier and TypeMethodDescriptionstatic StringIETFUtils.canonicalString(ASN1Encodable value) static StringIETFUtils.valueToString(ASN1Encodable value) -
Uses of ASN1Encodable in org.bouncycastle.asn1.x509
Classes in org.bouncycastle.asn1.x509 that implement ASN1EncodableModifier and TypeClassDescriptionclassThe AccessDescription object.classclassX.509 Section 9.8.3.classX.509 Section 9.8.4.classclassclassclassclassclassThe AuthorityInformationAccess object.classThe AuthorityKeyIdentifier object.classclassan X509Certificate structure.classPKIX RFC-2459 The X.509 v2 CRL syntax is as follows.classThis class helps to support crossCerfificatePairs in a LDAP directory according RFC 2587classclassCertPolicyId, used in the CertificatePolicies and PolicyMappings X509V3 Extensions.classclassThe CRLNumber object.classThe CRLReason enumeration.classDeltaCertificateDescriptor ::= SEQUENCE { serialNumber CertificateSerialNumber, signature [0] IMPLICIT AlgorithmIdentifier {SIGNATURE_ALGORITHM, {...}}classThe DigestInfo object.classDisplayTextclass, used inCertificatePoliciesX509 V3 extensions (in policy qualifiers).classThe DistributionPoint object.classThe DistributionPointName object.classclassThe extendedKeyUsage object.classan object for the elements in the X.509 V3 extension block.classExtensions ::= SEQUENCE SIZE (1..MAX) OF Extension Extension ::= SEQUENCE { extnId EXTENSION.&id ({ExtensionSet}), critical BOOLEAN DEFAULT FALSE, extnValue OCTET STRING }classThe GeneralName object.classclassClass for containing a restriction object subtrees in NameConstraints.classThe Holder object.classImplementation ofIetfAttrSyntaxas specified by RFC3281.classclassIssuingDistributionPoint ::= SEQUENCE { distributionPoint [0] DistributionPointName OPTIONAL, onlyContainsUserCerts [1] BOOLEAN DEFAULT FALSE, onlyContainsCACerts [2] BOOLEAN DEFAULT FALSE, onlySomeReasons [3] ReasonFlags OPTIONAL, indirectCRL [4] BOOLEAN DEFAULT FALSE, onlyContainsAttributeCerts [5] BOOLEAN DEFAULT FALSE }classThe KeyPurposeId object.classThe KeyUsage object.classclassNoticeReferenceclass, used inCertificatePoliciesX509 V3 extensions (in policy qualifiers).classObjectDigestInfo ASN.1 structure used in v2 attribute certificates.classThe OtherName object.classPKIX RFC 5280classclassPolicyMappings V3 extension, described in RFC3280.classPolicyQualifierId, used in the CertificatePolicies X509V3 extension.classPolicy qualifiers, used in the X509V3 CertificatePolicies extension.classPrivateKeyUsagePeriod ::= SEQUENCE { notBefore [0] GeneralizedTime OPTIONAL, notAfter [1] GeneralizedTime OPTIONAL }classThe ReasonFlags object.classImplementation of the RoleSyntax object as specified by the RFC3281.classDeprecated.use org.bouncycastle.asn1.pkcs.RSAPublicKeyclassX.509 Section 9.8.2.classThis extension may contain further X.500 attributes of the subject.classThe SubjectKeyIdentifier object.classThe object that contains the public key stored in a certificate.classTarget structure used in target information extension for attribute certificates from RFC 3281.classTarget information extension for attributes certificates according to RFC 3281.classTargets structure used in target information extension for attribute certificates from RFC 3281.classThe TBSCertificate object.classDeprecated.use TBSCertificateclassPKIX RFC-2459 - TBSCertList object.static classclassclassUserNoticeclass, used inCertificatePoliciesX509 extensions (in policy qualifiers).classclassDeprecated.use org.bouncycastle.asn1.x509.CertificateclassDeprecated.useExtensionandExtensionsclassDeprecated.use org.bouncycastle.asn1.x500.X500Name.Methods in org.bouncycastle.asn1.x509 that return ASN1EncodableModifier and TypeMethodDescriptionAttribute.getAttributeValues()Extensions.getExtensionParsedValue(ASN1ObjectIdentifier oid) return the parsed value of the extension represented by the object identifier passed in.static ASN1EncodableExtensions.getExtensionParsedValue(Extensions extensions, ASN1ObjectIdentifier oid) AttCertIssuer.getIssuer()DistributionPointName.getName()Return the tagged object inside the distribution point name.GeneralName.getName()AlgorithmIdentifier.getParameters()Extension.getParsedValue()X509Extension.getParsedValue()Deprecated.PolicyQualifierInfo.getQualifier()OtherName.getValue()Methods in org.bouncycastle.asn1.x509 with parameters of type ASN1EncodableModifier and TypeMethodDescriptionvoidV2AttributeCertificateInfoGenerator.addAttribute(String oid, ASN1Encodable value) voidExtensionsGenerator.addExtension(ASN1ObjectIdentifier oid, boolean critical, ASN1Encodable value) Add an extension with the given oid and the passed in value to be included in the OCTET STRING associated with the extension.voidX509ExtensionsGenerator.addExtension(ASN1ObjectIdentifier oid, boolean critical, ASN1Encodable value) Deprecated.Add an extension with the given oid and the passed in value to be included in the OCTET STRING associated with the extension.static ExtensionExtension.create(ASN1ObjectIdentifier extnId, boolean critical, ASN1Encodable value) Helper method to create an extension from any ASN.1 encodable object.voidExtensionsGenerator.replaceExtension(ASN1ObjectIdentifier oid, boolean critical, ASN1Encodable value) Replace an extension with the given oid and the passed in value to be included in the OCTET STRING associated with the extension.Constructors in org.bouncycastle.asn1.x509 with parameters of type ASN1EncodableModifierConstructorDescriptionAlgorithmIdentifier(ASN1ObjectIdentifier algorithm, ASN1Encodable parameters) AltSignatureAlgorithm(ASN1ObjectIdentifier algorithm, ASN1Encodable parameters) DistributionPointName(int type, ASN1Encodable name) GeneralName(int tag, ASN1Encodable name) When the subjectAltName extension contains an Internet mail address, the address MUST be included as an rfc822Name.OtherName(ASN1ObjectIdentifier typeID, ASN1Encodable value) Base constructor.PolicyQualifierInfo(ASN1ObjectIdentifier policyQualifierId, ASN1Encodable qualifier) Creates a newPolicyQualifierInfoinstance.SubjectPublicKeyInfo(AlgorithmIdentifier algId, ASN1Encodable publicKey) -
Uses of ASN1Encodable in org.bouncycastle.asn1.x509.qualified
Classes in org.bouncycastle.asn1.x509.qualified that implement ASN1EncodableModifier and TypeClassDescriptionclassThe BiometricData object.classThe Iso4217CurrencyCode object.classThe MonetaryValue object.classThe QCStatement object.classThe SemanticsInformation object.classThe TypeOfBiometricData object.Methods in org.bouncycastle.asn1.x509.qualified that return ASN1EncodableConstructors in org.bouncycastle.asn1.x509.qualified with parameters of type ASN1EncodableModifierConstructorDescriptionQCStatement(ASN1ObjectIdentifier qcStatementId, ASN1Encodable qcStatementInfo) -
Uses of ASN1Encodable in org.bouncycastle.asn1.x509.sigi
Classes in org.bouncycastle.asn1.x509.sigi that implement ASN1EncodableModifier and TypeClassDescriptionclassStructure for a name or pseudonym.classContains personal data for the otherName field in the subjectAltNames extension. -
Uses of ASN1Encodable in org.bouncycastle.asn1.x9
Classes in org.bouncycastle.asn1.x9 that implement ASN1EncodableModifier and TypeClassDescriptionclassDeprecated.use DomainParametersclassX9.42 definition of a DHPublicKeyclassDeprecated.use ValidationParamsclassX9.44 Diffie-Hellman domain parameters.classASN.1 def for Diffie-Hellman key exchange KeySpecificInfo structure.classASN.1 def for Diffie-Hellman key exchange OtherInfo structure.classDiffie-Hellman domain validation parameters.classThe Parameters ASN.1 CHOICE from X9.62.classASN.1 def for Elliptic-Curve Curve structure.classASN.1 def for Elliptic-Curve ECParameters structure.classClass for describing an ECPoint as a DER object.classclass for processing an FieldElement as a DER object.classASN.1 def for Elliptic-Curve Field ID structure. -
Uses of ASN1Encodable in org.bouncycastle.cert
Methods in org.bouncycastle.cert with parameters of type ASN1EncodableModifier and TypeMethodDescriptionX509v2AttributeCertificateBuilder.addAttribute(ASN1ObjectIdentifier attrType, ASN1Encodable attrValue) Add an attribute to the certification request we are building.X509v2AttributeCertificateBuilder.addAttribute(ASN1ObjectIdentifier attrType, ASN1Encodable[] attrValues) Add an attribute with multiple values to the certification request we are building.X509v2AttributeCertificateBuilder.addExtension(ASN1ObjectIdentifier oid, boolean isCritical, ASN1Encodable value) Add a given extension field for the standard extensions tag made up of the passed in parameters.X509v2CRLBuilder.addExtension(ASN1ObjectIdentifier oid, boolean isCritical, ASN1Encodable value) Add a given extension field for the standard extensions tag (tag 3)X509v3CertificateBuilder.addExtension(ASN1ObjectIdentifier oid, boolean isCritical, ASN1Encodable value) Add a given extension field for the standard extensions tag (tag 3)X509v2AttributeCertificateBuilder.replaceExtension(ASN1ObjectIdentifier oid, boolean isCritical, ASN1Encodable value) Replace the extension field for the passed in extension's extension ID with a new version.X509v2CRLBuilder.replaceExtension(ASN1ObjectIdentifier oid, boolean isCritical, ASN1Encodable value) Replace the extension field for the passed in extension's extension ID with a new version.X509v3CertificateBuilder.replaceExtension(ASN1ObjectIdentifier oid, boolean isCritical, ASN1Encodable value) Replace the extension field for the passed in extension's extension ID with a new version. -
Uses of ASN1Encodable in org.bouncycastle.cert.crmf
Methods in org.bouncycastle.cert.crmf that return ASN1EncodableModifier and TypeMethodDescriptionAuthenticatorControl.getValue()Return the token associated with this control (a UTF8String).Control.getValue()Return the value contained in this control object.PKIArchiveControl.getValue()Return the underlying ASN.1 object.RegTokenControl.getValue()Return the token associated with this control (a UTF8String).Methods in org.bouncycastle.cert.crmf with parameters of type ASN1EncodableModifier and TypeMethodDescriptionCertificateRequestMessageBuilder.addExtension(ASN1ObjectIdentifier oid, boolean critical, ASN1Encodable value) -
Uses of ASN1Encodable in org.bouncycastle.cms
Methods in org.bouncycastle.cms that return ASN1EncodableMethods in org.bouncycastle.cms with parameters of type ASN1EncodableModifier and TypeMethodDescriptionvoidCMSSignedGenerator.addOtherRevocationInfo(ASN1ObjectIdentifier otherRevocationInfoFormat, ASN1Encodable otherRevocationInfo) Add a single instance of otherRevocationData to the CRL set to be included with the generated SignedData message.Constructors in org.bouncycastle.cms with parameters of type ASN1EncodableModifierConstructorDescriptionPKCS7ProcessableObject(ASN1ObjectIdentifier type, ASN1Encodable structure) PKCS7TypedStream(ASN1ObjectIdentifier oid, ASN1Encodable encodable) -
Uses of ASN1Encodable in org.bouncycastle.dvcs
Methods in org.bouncycastle.dvcs that return ASN1EncodableModifier and TypeMethodDescriptionabstract ASN1EncodableDVCSMessage.getContent()DVCSRequest.getContent()Return the ASN.1 DVCSRequest structure making up the body of this request.DVCSResponse.getContent()Return the ASN.1 DVCSResponse structure making up the body of this response.Methods in org.bouncycastle.dvcs with parameters of type ASN1EncodableModifier and TypeMethodDescriptionvoidDVCSRequestBuilder.addExtension(ASN1ObjectIdentifier oid, boolean isCritical, ASN1Encodable value) Add a given extension field. -
Uses of ASN1Encodable in org.bouncycastle.internal.asn1.cms
Classes in org.bouncycastle.internal.asn1.cms that implement ASN1Encodable -
Uses of ASN1Encodable in org.bouncycastle.internal.asn1.misc
Classes in org.bouncycastle.internal.asn1.misc that implement ASN1EncodableModifier and TypeClassDescriptionclassclassclassThe NetscapeCertType object.classclassRFC 7914 scrypt parameters.class -
Uses of ASN1Encodable in org.bouncycastle.internal.asn1.oiw
Classes in org.bouncycastle.internal.asn1.oiw that implement ASN1Encodable -
Uses of ASN1Encodable in org.bouncycastle.jcajce.provider.asymmetric.dh
Methods in org.bouncycastle.jcajce.provider.asymmetric.dh that return ASN1EncodableMethods in org.bouncycastle.jcajce.provider.asymmetric.dh with parameters of type ASN1EncodableModifier and TypeMethodDescriptionvoidBCDHPrivateKey.setBagAttribute(ASN1ObjectIdentifier oid, ASN1Encodable attribute) -
Uses of ASN1Encodable in org.bouncycastle.jcajce.provider.asymmetric.dsa
Methods in org.bouncycastle.jcajce.provider.asymmetric.dsa that return ASN1EncodableMethods in org.bouncycastle.jcajce.provider.asymmetric.dsa with parameters of type ASN1EncodableModifier and TypeMethodDescriptionvoidBCDSAPrivateKey.setBagAttribute(ASN1ObjectIdentifier oid, ASN1Encodable attribute) -
Uses of ASN1Encodable in org.bouncycastle.jcajce.provider.asymmetric.dstu
Methods in org.bouncycastle.jcajce.provider.asymmetric.dstu that return ASN1EncodableMethods in org.bouncycastle.jcajce.provider.asymmetric.dstu with parameters of type ASN1EncodableModifier and TypeMethodDescriptionvoidBCDSTU4145PrivateKey.setBagAttribute(ASN1ObjectIdentifier oid, ASN1Encodable attribute) -
Uses of ASN1Encodable in org.bouncycastle.jcajce.provider.asymmetric.ec
Methods in org.bouncycastle.jcajce.provider.asymmetric.ec that return ASN1EncodableMethods in org.bouncycastle.jcajce.provider.asymmetric.ec with parameters of type ASN1EncodableModifier and TypeMethodDescriptionvoidBCECPrivateKey.setBagAttribute(ASN1ObjectIdentifier oid, ASN1Encodable attribute) -
Uses of ASN1Encodable in org.bouncycastle.jcajce.provider.asymmetric.ecgost
Methods in org.bouncycastle.jcajce.provider.asymmetric.ecgost that return ASN1EncodableModifier and TypeMethodDescriptionBCECGOST3410PrivateKey.getBagAttribute(ASN1ObjectIdentifier oid) Methods in org.bouncycastle.jcajce.provider.asymmetric.ecgost with parameters of type ASN1EncodableModifier and TypeMethodDescriptionvoidBCECGOST3410PrivateKey.setBagAttribute(ASN1ObjectIdentifier oid, ASN1Encodable attribute) -
Uses of ASN1Encodable in org.bouncycastle.jcajce.provider.asymmetric.ecgost12
Methods in org.bouncycastle.jcajce.provider.asymmetric.ecgost12 that return ASN1EncodableModifier and TypeMethodDescriptionBCECGOST3410_2012PrivateKey.getBagAttribute(ASN1ObjectIdentifier oid) Methods in org.bouncycastle.jcajce.provider.asymmetric.ecgost12 with parameters of type ASN1EncodableModifier and TypeMethodDescriptionvoidBCECGOST3410_2012PrivateKey.setBagAttribute(ASN1ObjectIdentifier oid, ASN1Encodable attribute) -
Uses of ASN1Encodable in org.bouncycastle.jcajce.provider.asymmetric.elgamal
Methods in org.bouncycastle.jcajce.provider.asymmetric.elgamal that return ASN1EncodableMethods in org.bouncycastle.jcajce.provider.asymmetric.elgamal with parameters of type ASN1EncodableModifier and TypeMethodDescriptionvoidBCElGamalPrivateKey.setBagAttribute(ASN1ObjectIdentifier oid, ASN1Encodable attribute) -
Uses of ASN1Encodable in org.bouncycastle.jcajce.provider.asymmetric.gost
Methods in org.bouncycastle.jcajce.provider.asymmetric.gost that return ASN1EncodableMethods in org.bouncycastle.jcajce.provider.asymmetric.gost with parameters of type ASN1EncodableModifier and TypeMethodDescriptionvoidBCGOST3410PrivateKey.setBagAttribute(ASN1ObjectIdentifier oid, ASN1Encodable attribute) -
Uses of ASN1Encodable in org.bouncycastle.jcajce.provider.asymmetric.rsa
Methods in org.bouncycastle.jcajce.provider.asymmetric.rsa that return ASN1EncodableMethods in org.bouncycastle.jcajce.provider.asymmetric.rsa with parameters of type ASN1EncodableModifier and TypeMethodDescriptionvoidBCRSAPrivateKey.setBagAttribute(ASN1ObjectIdentifier oid, ASN1Encodable attribute) -
Uses of ASN1Encodable in org.bouncycastle.jcajce.provider.asymmetric.util
Methods in org.bouncycastle.jcajce.provider.asymmetric.util that return ASN1EncodableModifier and TypeMethodDescriptionPKCS12BagAttributeCarrierImpl.getBagAttribute(ASN1ObjectIdentifier oid) Methods in org.bouncycastle.jcajce.provider.asymmetric.util with parameters of type ASN1EncodableModifier and TypeMethodDescriptionstatic byte[]KeyUtil.getEncodedPrivateKeyInfo(AlgorithmIdentifier algId, ASN1Encodable privKey) static byte[]KeyUtil.getEncodedSubjectPublicKeyInfo(AlgorithmIdentifier algId, ASN1Encodable keyData) voidPKCS12BagAttributeCarrierImpl.setBagAttribute(ASN1ObjectIdentifier oid, ASN1Encodable attribute) -
Uses of ASN1Encodable in org.bouncycastle.jcajce.util
Methods in org.bouncycastle.jcajce.util that return ASN1EncodableModifier and TypeMethodDescriptionstatic ASN1EncodableAlgorithmParametersUtils.extractParameters(AlgorithmParameters params) Extract an ASN.1 encodable from an AlgorithmParameters object.static ASN1EncodableJcaJceUtils.extractParameters(AlgorithmParameters params) Deprecated.use AlgorithmParametersUtils.extractParameters(AlgorithmParameters params)Methods in org.bouncycastle.jcajce.util with parameters of type ASN1EncodableModifier and TypeMethodDescriptionstatic voidAlgorithmParametersUtils.loadParameters(AlgorithmParameters params, ASN1Encodable sParams) Load an AlgorithmParameters object with the passed in ASN.1 encodable - if possible.static voidJcaJceUtils.loadParameters(AlgorithmParameters params, ASN1Encodable sParams) Deprecated.use AlgorithmParametersUtils.loadParameters(AlgorithmParameters params, ASN1Encodable sParams) -
Uses of ASN1Encodable in org.bouncycastle.jce
Classes in org.bouncycastle.jce that implement ASN1EncodableModifier and TypeClassDescriptionclassDeprecated.use classes in org.bouncycastle.pkcs.classA holding class for constructing an X509 Key Usage extension.classDeprecated.use the X500Name class. -
Uses of ASN1Encodable in org.bouncycastle.jce.interfaces
Methods in org.bouncycastle.jce.interfaces that return ASN1EncodableModifier and TypeMethodDescriptionPKCS12BagAttributeCarrier.getBagAttribute(ASN1ObjectIdentifier oid) Methods in org.bouncycastle.jce.interfaces with parameters of type ASN1EncodableModifier and TypeMethodDescriptionvoidPKCS12BagAttributeCarrier.setBagAttribute(ASN1ObjectIdentifier oid, ASN1Encodable attribute) -
Uses of ASN1Encodable in org.bouncycastle.jce.netscape
Classes in org.bouncycastle.jce.netscape that implement ASN1EncodableModifier and TypeClassDescriptionclassHandles NetScape certificate request (KEYGEN), these are constructed as: -
Uses of ASN1Encodable in org.bouncycastle.jce.provider
Methods in org.bouncycastle.jce.provider that return ASN1EncodableModifier and TypeMethodDescriptionJCEDHPrivateKey.getBagAttribute(ASN1ObjectIdentifier oid) JCEECPrivateKey.getBagAttribute(ASN1ObjectIdentifier oid) JCEElGamalPrivateKey.getBagAttribute(ASN1ObjectIdentifier oid) JCERSAPrivateKey.getBagAttribute(ASN1ObjectIdentifier oid) JDKDSAPrivateKey.getBagAttribute(ASN1ObjectIdentifier oid) X509CertificateObject.getBagAttribute(ASN1ObjectIdentifier oid) Deprecated.Methods in org.bouncycastle.jce.provider with parameters of type ASN1EncodableModifier and TypeMethodDescriptionvoidJCEDHPrivateKey.setBagAttribute(ASN1ObjectIdentifier oid, ASN1Encodable attribute) voidJCEECPrivateKey.setBagAttribute(ASN1ObjectIdentifier oid, ASN1Encodable attribute) voidJCEElGamalPrivateKey.setBagAttribute(ASN1ObjectIdentifier oid, ASN1Encodable attribute) voidJCERSAPrivateKey.setBagAttribute(ASN1ObjectIdentifier oid, ASN1Encodable attribute) voidJDKDSAPrivateKey.setBagAttribute(ASN1ObjectIdentifier oid, ASN1Encodable attribute) voidX509CertificateObject.setBagAttribute(ASN1ObjectIdentifier oid, ASN1Encodable attribute) Deprecated. -
Uses of ASN1Encodable in org.bouncycastle.pkcs
Classes in org.bouncycastle.pkcs that implement ASN1EncodableModifier and TypeClassDescriptionclassThe delta certificate request attribute defined in: https://datatracker.ietf.org/doc/draft-bonnell-lamps-chameleon-certs/Methods in org.bouncycastle.pkcs with parameters of type ASN1EncodableModifier and TypeMethodDescriptionPKCS10CertificationRequestBuilder.addAttribute(ASN1ObjectIdentifier attrType, ASN1Encodable attrValue) Add an attribute to the certification request we are building.PKCS10CertificationRequestBuilder.addAttribute(ASN1ObjectIdentifier attrType, ASN1Encodable[] attrValues) Add an attribute with multiple values to the certification request we are building.PKCS12SafeBagBuilder.addBagAttribute(ASN1ObjectIdentifier attrType, ASN1Encodable attrValue) PKCS10CertificationRequestBuilder.setAttribute(ASN1ObjectIdentifier attrType, ASN1Encodable attrValue) Set an attribute to the certification request we are building.PKCS10CertificationRequestBuilder.setAttribute(ASN1ObjectIdentifier attrType, ASN1Encodable[] attrValue) Add an attribute with multiple values to the certification request we are building. -
Uses of ASN1Encodable in org.bouncycastle.pqc.asn1
Classes in org.bouncycastle.pqc.asn1 that implement ASN1EncodableModifier and TypeClassDescriptionclassASN.1 Encoding for a Classic McEliece private key for fully populated:classClassic McEliece Public Key Format.classASN.1 Encoding for a FALCON private key for fully populated:classClassic McEliece Public Key Format.classclassThis class implements an ASN.1 encoded GMSS public key.classCrystal Kyber Private Key Format.classCrystal Kyber Public Key Format.classReturn the keyData to encode in the PrivateKeyInfo structure.classclassclassclassParSet ::= SEQUENCE { T INTEGER h SEQUENCE OF INTEGER w SEQUENCE OF INTEGER K SEQUENCE OF INTEGER }classReturn the key data to encode in the PrivateKeyInfo structure.classThis class implements an ASN.1 encoded Rainbow public key.classExpires 13 May 2022 SABERPrivateKey ::= SEQUENCE { version INTEGER {v0(0)} -- version (round 3) z OCTET STRING, -- 32-byte random value z s OCTET STRING, -- short integer polynomial s PublicKey [0] IMPLICIT SABERPublicKey OPTIONAL, -- see next section hpk OCTET STRING -- H(pk) }classExpires 13 May 2022 SABERPublicKey := SEQUENCE { seed_A OCTET STRING, -- 32-byte seed b OCTET STRING -- short integer polynomial b }classclassSee https://datatracker.ietf.org/doc/draft-uni-qsckeys-sphincsplus/00/ for details ASN.1 Encoding for a SphincsPlus private key for fully populated:classSee https://datatracker.ietf.org/doc/draft-uni-qsckeys-sphincsplus/00/ for details.classXMSSKeyParamsclassXMMSMTKeyParamsclassXMMSMTPrivateKeyclassXMSSMTPublicKeyclassXMMSPrivateKeyclassXMSSPublicKey -
Uses of ASN1Encodable in org.bouncycastle.pqc.jcajce.provider.util
Methods in org.bouncycastle.pqc.jcajce.provider.util with parameters of type ASN1EncodableModifier and TypeMethodDescriptionstatic byte[]KeyUtil.getEncodedPrivateKeyInfo(AlgorithmIdentifier algId, ASN1Encodable privKey) static byte[]KeyUtil.getEncodedSubjectPublicKeyInfo(AlgorithmIdentifier algId, ASN1Encodable keyData) -
Uses of ASN1Encodable in org.bouncycastle.tsp
Methods in org.bouncycastle.tsp with parameters of type ASN1EncodableModifier and TypeMethodDescriptionvoidTimeStampRequestGenerator.addExtension(String OID, boolean critical, ASN1Encodable value) Deprecated.use method taking ASN1ObjectIdentifiervoidTimeStampRequestGenerator.addExtension(ASN1ObjectIdentifier oid, boolean isCritical, ASN1Encodable value) add a given extension field for the standard extensions tag (tag 3) -
Uses of ASN1Encodable in org.bouncycastle.x509
Classes in org.bouncycastle.x509 that implement ASN1EncodableModifier and TypeClassDescriptionclassDeprecated.see X509CertificateHolder class in the PKIX package.Methods in org.bouncycastle.x509 that return ASN1EncodableMethods in org.bouncycastle.x509 with parameters of type ASN1EncodableModifier and TypeMethodDescriptionvoidX509V2CRLGenerator.addExtension(String oid, boolean critical, ASN1Encodable value) Deprecated.add a given extension field for the standard extensions tag (tag 0)voidX509V2CRLGenerator.addExtension(ASN1ObjectIdentifier oid, boolean critical, ASN1Encodable value) Deprecated.add a given extension field for the standard extensions tag (tag 0)voidX509V3CertificateGenerator.addExtension(String oid, boolean critical, ASN1Encodable value) Deprecated.add a given extension field for the standard extensions tag (tag 3)voidX509V3CertificateGenerator.addExtension(ASN1ObjectIdentifier oid, boolean critical, ASN1Encodable value) Deprecated.add a given extension field for the standard extensions tag (tag 3)Constructors in org.bouncycastle.x509 with parameters of type ASN1EncodableModifierConstructorDescriptionX509Attribute(String oid, ASN1Encodable value) Deprecated.Create an X.509 Attribute with the type given by the passed in oid and the value represented by an ASN.1 Set containing value. -
Uses of ASN1Encodable in org.bouncycastle.x509.extension
Classes in org.bouncycastle.x509.extension that implement ASN1EncodableModifier and TypeClassDescriptionclassDeprecated.use JcaX509ExtensionUtils and AuthorityKeyIdentifier.getInstance()