Uses of Class
org.mozilla.jss.asn1.InvalidBERException
Packages that use InvalidBERException
Package
Description
ASN.1 structures, BER decoding, and DER encoding.
Encoding and decoding pkcs10 request
Creating and interpreting PKCS #12 blobs.
Creating and interpeting PKCS #7 blobs.
Encoding and decoding X.509 certificates and certificate extensions.
Creating and interpeting CMC blobs.
The PKIX CMMF protocol.
Creating and interpeting CMS blobs.
The PKIX CRMF protocol.
Frequently-used primitive ASN.1 types, such as AlgorithmIdentifier,
PrivateKeyInfo, and X.500 Name.
A facility for encrypting and decrypting small amounts of data with
a symmetric key.
-
Uses of InvalidBERException in org.mozilla.jss.asn1
Subclasses of InvalidBERException in org.mozilla.jss.asn1Modifier and TypeClassDescriptionstatic class
static class
Fields in org.mozilla.jss.asn1 declared as InvalidBERExceptionMethods in org.mozilla.jss.asn1 that throw InvalidBERExceptionModifier and TypeMethodDescriptionprivate static void
TimeBase.Template.checkBounds
(int index, int increment, int bound) private static void
TimeBase.Template.checkRange
(int val, int low, int high, String field) ANY.Template.decode
(InputStream istream) ANY.Template.decode
(Tag implicitTag, InputStream istream) ASN1Template.decode
(InputStream istream) Decodes an ASN1Value from the InputStream without an implicit tag.ASN1Template.decode
(Tag implicitTag, InputStream istream) Decodes an ASN1Value from the InputStream with the given implicit tag.static ASN1Value
ASN1Util.decode
(ASN1Template template, byte[] encoded) static ASN1Value
ASN1Util.decode
(Tag implicitTag, ASN1Template template, byte[] encoded) BIT_STRING.Template.decode
(InputStream istream) BIT_STRING.Template.decode
(Tag implicitTag, InputStream istream) BOOLEAN.Template.decode
(InputStream istream) BOOLEAN.Template.decode
(Tag tag, InputStream istream) CharacterString.Template.decode
(InputStream istream) CharacterString.Template.decode
(Tag implicitTag, InputStream istream) CHOICE.Template.decode
(InputStream istream) CHOICE.Template.decode
(Tag implicitTag, InputStream istream) Decodes a CHOICE.ENUMERATED.Template.decode
(Tag tag, InputStream derStream) EXPLICIT.Template.decode
(InputStream istream) EXPLICIT.Template.decode
(Tag implicitTag, InputStream istream) INTEGER.Template.decode
(InputStream derStream) INTEGER.Template.decode
(Tag tag, InputStream derStream) NULL.Template.decode
(InputStream istream) NULL.Template.decode
(Tag implicitTag, InputStream istream) OBJECT_IDENTIFIER.Template.decode
(InputStream istream) OBJECT_IDENTIFIER.Template.decode
(Tag implicitTag, InputStream istream) OCTET_STRING.Template.decode
(InputStream istream) OCTET_STRING.Template.decode
(Tag implicitTag, InputStream istream) SEQUENCE.OF_Template.decode
(InputStream istream) Decodes a SEQUENCE OF from an input stream.SEQUENCE.OF_Template.decode
(Tag implicitTag, InputStream istream) Decodes a SEQUENCE OF with an implicit tag from an input stream.SEQUENCE.Template.decode
(InputStream istream) Decodes a SEQUENCE from its BER encoding.SEQUENCE.Template.decode
(Tag tag, InputStream istream) Decodes a SEQUENCE from its BER encoding, where the SEQUENCE itself has an implicit tag.SET.OF_Template.decode
(InputStream istream) Decodes aSET OF
from its BER encoding.SET.OF_Template.decode
(Tag implicitTag, InputStream istream) Decodes aSET OF
with an implicit tag from its BER encoding.SET.Template.decode
(InputStream istream) Decodes the input stream into a SET value.SET.Template.decode
(Tag tag, InputStream istream) Decodes the input stream into a SET value with the given implicit tag.TimeBase.Template.decode
(InputStream istream) TimeBase.Template.decode
(Tag implicitTag, InputStream istream) ANY.decodeWith
(ASN1Template template) Decodes this ANY using the given template.ANY.decodeWith
(Tag implicitTag, ASN1Template template) Decodes this ANY using the given template.void
ANY.encodeWithAlternateTag
(Tag alternateTag, OutputStream ostream) Extracts the contents from the ANY and encodes them with the provided tag.static Tag.Class
Tag.Class.fromInt
(int i) byte[]
ANY.getContents()
ANY.getHeader()
Returns the ASN.1 header from the encoding.static ASN1Header
ASN1Header.lookAhead
(InputStream derStream) Returns information about the next item in the stream, but does not consume any octets.private static byte
OBJECT_IDENTIFIER.Template.readByte
(InputStream istream) Reads in a byte from the stream, throws an InvalidBERException if EOF is reached.void
Verifies that this head has the given tag.void
Verifies that this header has the given tag and form.Constructors in org.mozilla.jss.asn1 with parameters of type InvalidBERExceptionConstructors in org.mozilla.jss.asn1 that throw InvalidBERExceptionModifierConstructorDescriptionANY
(byte[] encoded) Creates an ANY value, which is just a generic ASN.1 value.ASN1Header
(InputStream istream) Gets info about the next item in the DER stream, consuming the identifier and length octets. -
Uses of InvalidBERException in org.mozilla.jss.netscape.security.x509
Methods in org.mozilla.jss.netscape.security.x509 that throw InvalidBERExceptionModifier and TypeMethodDescriptionCRLDistributionPoint.Template.decode
(InputStream istream) CRLDistributionPoint.Template.decode
(Tag implicitTag, InputStream istream) static void
-
Uses of InvalidBERException in org.mozilla.jss.pkcs10
Methods in org.mozilla.jss.pkcs10 that throw InvalidBERExceptionModifier and TypeMethodDescriptionCertificationRequest.Template.decode
(InputStream istream) CertificationRequest.Template.decode
(Tag implicitTag, InputStream istream) CertificationRequestInfo.Template.decode
(InputStream istream) CertificationRequestInfo.Template.decode
(Tag implicitTag, InputStream istream) void
CertificationRequestInfo.print
(PrintStream ps) void
CertificationRequestInfo.setSubjectPublicKeyInfo
(PublicKey pubk) Extracts the SubjectPublicKeyInfo from the given public key and stores it in the CertificationRequestInfo. -
Uses of InvalidBERException in org.mozilla.jss.pkcs12
Methods in org.mozilla.jss.pkcs12 that throw InvalidBERExceptionModifier and TypeMethodDescriptionstatic SafeBag
SafeBag.createCertBag
(byte[] cert, String friendlyName) Creates a SafeBag that contains an X.509 Certificate.static SafeBag
SafeBag.createCertBag
(byte[] cert, String friendlyName, byte[] localKeyID) Creates a SafeBag that contains an X.509 Certificate.AuthenticatedSafes.Template.decode
(InputStream istream) AuthenticatedSafes.Template.decode
(Tag implicitTag, InputStream istream) CertBag.Template.decode
(InputStream istream) CertBag.Template.decode
(Tag implicitTag, InputStream istream) MacData.Template.decode
(InputStream istream) MacData.Template.decode
(Tag implicitTag, InputStream istream) PFX.Template.decode
(InputStream istream) PFX.Template.decode
(Tag implicitTag, InputStream istream) SafeBag.Template.decode
(InputStream istream) SafeBag.Template.decode
(Tag implicitTag, InputStream istream) SecretBag.Template.decode
(InputStream istream) SecretBag.Template.decode
(Tag implicitTag, InputStream istream) SafeBag.getInterpretedBagContent()
Returns the bagContent interpreted by type.CertBag.getInterpretedCert()
Returns the cert field of the CertBag based on its type.AuthenticatedSafes.getSafeContentsAt
(Password password, int index) Returns the SafeContents at the given index in the AuthenticatedSafes, decrypting it if necessary. -
Uses of InvalidBERException in org.mozilla.jss.pkcs7
Methods in org.mozilla.jss.pkcs7 that throw InvalidBERExceptionModifier and TypeMethodDescriptionAttribute.Template.decode
(InputStream istream) Attribute.Template.decode
(Tag implicit, InputStream istream) ContentInfo.Template.decode
(InputStream istream) ContentInfo.Template.decode
(Tag implicitTag, InputStream istream) DigestedData.Template.decode
(InputStream istream) DigestedData.Template.decode
(Tag implicitTag, InputStream istream) DigestInfo.Template.decode
(InputStream ostream) DigestInfo.Template.decode
(Tag implicitTag, InputStream ostream) EncryptedContentInfo.Template.decode
(InputStream istream) EncryptedContentInfo.Template.decode
(Tag implicitTag, InputStream istream) EncryptedData.Template.decode
(InputStream istream) EncryptedData.Template.decode
(Tag implicitTag, InputStream istream) EnvelopedData.Template.decode
(InputStream istream) EnvelopedData.Template.decode
(Tag implicitTag, InputStream istream) IssuerAndSerialNumber.Template.decode
(InputStream istream) IssuerAndSerialNumber.Template.decode
(Tag implicitTag, InputStream istream) RecipientInfo.Template.decode
(InputStream istream) RecipientInfo.Template.decode
(Tag implicitTag, InputStream istream) SignedAndEnvelopedData.Template.decode
(InputStream istream) SignedAndEnvelopedData.Template.decode
(Tag implicitTag, InputStream istream) SignedData.Template.decode
(InputStream istream) SignedData.Template.decode
(Tag implicitTag, InputStream istream) SignerInfo.Template.decode
(InputStream istream) SignerInfo.Template.decode
(Tag implicitTag, InputStream istream) byte[]
EncryptedContentInfo.decrypt
(Password pass, KeyGenerator.CharToByteConverter charToByteConverter) Decrypts the content of an EncryptedContentInfo encrypted with a PBE key.ContentInfo.getInterpretedContent()
Returns the content, interpreted based on its type. -
Uses of InvalidBERException in org.mozilla.jss.pkix.cert
Methods in org.mozilla.jss.pkix.cert that throw InvalidBERExceptionModifier and TypeMethodDescriptionCertificate.Template.decode
(InputStream istream) Certificate.Template.decode
(Tag implicitTag, InputStream istream) CertificateInfo.Template.decode
(InputStream istream) CertificateInfo.Template.decode
(Tag implicitTag, InputStream istream) Extension.Template.decode
(InputStream istream) Extension.Template.decode
(Tag implicit, InputStream istream) SubjectKeyIdentifier.Template.decode
(InputStream istream) SubjectKeyIdentifier.Template.decode
(Tag implicit, InputStream istream) static CertificateInfo.Version
CertificateInfo.Version.fromInt
(int versionNum) Creates a version number from its numeric encoding.void
CertificateInfo.print
(PrintStream ps) void
CertificateInfo.setSubjectPublicKeyInfo
(PublicKey pubk) Extracts the SubjectPublicKeyInfo from the given public key and stores it in the CertificateInfo. -
Uses of InvalidBERException in org.mozilla.jss.pkix.cmc
Methods in org.mozilla.jss.pkix.cmc that throw InvalidBERExceptionModifier and TypeMethodDescriptionBodyPartReference.Template.decode
(InputStream istream) BodyPartReference.Template.decode
(Tag implicitTag, InputStream istream) CMCCertId.Template.decode
(InputStream istream) CMCCertId.Template.decode
(Tag implicitTag, InputStream istream) CMCStatusInfo.Template.decode
(InputStream istream) CMCStatusInfo.Template.decode
(Tag implicitTag, InputStream istream) CMCStatusInfoV2.Template.decode
(InputStream istream) CMCStatusInfoV2.Template.decode
(Tag implicitTag, InputStream istream) DecryptedPOP.Template.decode
(InputStream istream) DecryptedPOP.Template.decode
(Tag implicitTag, InputStream istream) EncryptedPOP.Template.decode
(InputStream istream) EncryptedPOP.Template.decode
(Tag implicitTag, InputStream istream) ExtendedFailInfo.Template.decode
(InputStream istream) ExtendedFailInfo.Template.decode
(Tag implicit, InputStream istream) GetCert.Template.decode
(InputStream istream) GetCert.Template.decode
(Tag implicitTag, InputStream istream) IdentityProofV2.Template.decode
(InputStream istream) IdentityProofV2.Template.decode
(Tag implicitTag, InputStream istream) LraPopWitness.Template.decode
(InputStream istream) LraPopWitness.Template.decode
(Tag implicitTag, InputStream istream) OtherInfo.Template.decode
(InputStream istream) OtherInfo.Template.decode
(Tag implicitTag, InputStream istream) OtherMsg.Template.decode
(InputStream istream) OtherMsg.Template.decode
(Tag implicitTag, InputStream istream) OtherReqMsg.Template.decode
(InputStream istream) OtherReqMsg.Template.decode
(Tag implicitTag, InputStream istream) PendInfo.Template.decode
(InputStream istream) PendInfo.Template.decode
(Tag implicitTag, InputStream istream) PKIData.Template.decode
(InputStream istream) PKIData.Template.decode
(Tag implicitTag, InputStream istream) PopLinkWitnessV2.Template.decode
(InputStream istream) PopLinkWitnessV2.Template.decode
(Tag implicitTag, InputStream istream) ResponseBody.Template.decode
(InputStream istream) ResponseBody.Template.decode
(Tag implicitTag, InputStream istream) RevokeRequest.Template.decode
(InputStream istream) RevokeRequest.Template.decode
(Tag implicitTag, InputStream istream) TaggedAttribute.Template.decode
(InputStream istream) TaggedAttribute.Template.decode
(Tag implicit, InputStream istream) TaggedCertificationRequest.Template.decode
(InputStream istream) TaggedCertificationRequest.Template.decode
(Tag implicitTag, InputStream istream) TaggedContentInfo.Template.decode
(InputStream istream) TaggedContentInfo.Template.decode
(Tag implicitTag, InputStream istream) TaggedRequest.Template.decode
(InputStream istream) TaggedRequest.Template.decode
(Tag implicitTag, InputStream istream) -
Uses of InvalidBERException in org.mozilla.jss.pkix.cmmf
Methods in org.mozilla.jss.pkix.cmmf that throw InvalidBERExceptionModifier and TypeMethodDescriptionGetCRL.Template.decode
(InputStream istream) GetCRL.Template.decode
(Tag implicitTag, InputStream istream) IssuerAndSubject.Template.decode
(InputStream istream) IssuerAndSubject.Template.decode
(Tag implicitTag, InputStream istream) PKIStatusInfo.Template.decode
(InputStream istream) PKIStatusInfo.Template.decode
(Tag implicitTag, InputStream istream) RevRepContent.Template.decode
(InputStream istream) RevRepContent.Template.decode
(Tag implicitTag, InputStream istream) RevRequest.Template.decode
(InputStream istream) RevRequest.Template.decode
(Tag implicitTag, InputStream istream) Constructors in org.mozilla.jss.pkix.cmmf that throw InvalidBERException -
Uses of InvalidBERException in org.mozilla.jss.pkix.cms
Methods in org.mozilla.jss.pkix.cms that throw InvalidBERExceptionModifier and TypeMethodDescriptionContentInfo.Template.decode
(InputStream istream) ContentInfo.Template.decode
(Tag implicitTag, InputStream istream) DigestedData.Template.decode
(InputStream istream) DigestedData.Template.decode
(Tag implicitTag, InputStream istream) DigestInfo.Template.decode
(InputStream ostream) DigestInfo.Template.decode
(Tag implicitTag, InputStream ostream) EncapsulatedContentInfo.Template.decode
(InputStream istream) EncapsulatedContentInfo.Template.decode
(Tag implicitTag, InputStream istream) EncryptedContentInfo.Template.decode
(InputStream istream) EncryptedContentInfo.Template.decode
(Tag implicitTag, InputStream istream) EncryptedData.Template.decode
(InputStream istream) EncryptedData.Template.decode
(Tag implicitTag, InputStream istream) EnvelopedData.Template.decode
(InputStream istream) EnvelopedData.Template.decode
(Tag implicitTag, InputStream istream) IssuerAndSerialNumber.Template.decode
(InputStream istream) IssuerAndSerialNumber.Template.decode
(Tag implicitTag, InputStream istream) RecipientInfo.Template.decode
(InputStream istream) RecipientInfo.Template.decode
(Tag implicitTag, InputStream istream) SignedAndEnvelopedData.Template.decode
(InputStream istream) SignedAndEnvelopedData.Template.decode
(Tag implicitTag, InputStream istream) SignedData.Template.decode
(InputStream istream) SignedData.Template.decode
(Tag implicitTag, InputStream istream) SignerIdentifier.Template.decode
(InputStream istream) SignerIdentifier.Template.decode
(Tag implicitTag, InputStream istream) SignerInfo.Template.decode
(InputStream istream) SignerInfo.Template.decode
(Tag implicitTag, InputStream istream) byte[]
EncryptedContentInfo.decrypt
(Password pass, KeyGenerator.CharToByteConverter charToByteConverter) Decrypts the content of an EncryptedContentInfo encrypted with a PBE key.ContentInfo.getInterpretedContent()
Returns the content, interpreted based on its type. -
Uses of InvalidBERException in org.mozilla.jss.pkix.crmf
Methods in org.mozilla.jss.pkix.crmf that throw InvalidBERExceptionModifier and TypeMethodDescriptionCertId.Template.decode
(InputStream istream) CertId.Template.decode
(Tag implicitTag, InputStream istream) CertReqMsg.Template.decode
(InputStream istream) Decodes a CertReqMsg from the given input stream.CertReqMsg.Template.decode
(Tag implicit, InputStream istream) Decodes a CertReqMsg from the given input stream, using the given implicit tag.CertRequest.Template.decode
(InputStream istream) CertRequest.Template.decode
(Tag implicit, InputStream istream) CertTemplate.Template.decode
(InputStream istream) Decodes a CertTemplate from its BER encoding.CertTemplate.Template.decode
(Tag implicit, InputStream istream) Control.Template.decode
(InputStream istream) Control.Template.decode
(Tag implicit, InputStream istream) EncryptedKey.Template.decode
(InputStream istream) EncryptedKey.Template.decode
(Tag implicitTag, InputStream istream) EncryptedValue.Template.decode
(InputStream istream) EncryptedValue.Template.decode
(Tag implicitTag, InputStream istream) PKIArchiveOptions.Template.decode
(InputStream istream) Decodes a PKIArchiveOptions.PKIArchiveOptions.Template.decode
(Tag implicitTag, InputStream istream) Decodes a PKIArchiveOptions.PKIPublicationInfo.Template.decode
(InputStream istream) PKIPublicationInfo.Template.decode
(Tag implicitTag, InputStream istream) POPOPrivKey.Template.decode
(InputStream istream) POPOPrivKey.Template.decode
(Tag implicitTag, InputStream istream) Should not be called, because POPOPrivKey is a CHOICE and cannot have an implicit tag.POPOSigningKey.Template.decode
(InputStream istream) POPOSigningKey.Template.decode
(Tag implicitTag, InputStream istream) ProofOfPossession.Template.decode
(InputStream istream) ProofOfPossession.Template.decode
(Tag implicitTag, InputStream istream) Control.getPKIArchiveOptions()
Returns the value of this control as a PKIArchiveOptions, if it actually is a PKIArchiveOptions.Control.getPKIPublicationInfo()
Returns the value of this control as a PKIPublicationInfo, if it actually is a PKIPublicationInfo.Control.getUTF8String()
Returns the value of this control as a UTF8String, if it actually is a UTF8String.void
CertTemplate.print
(PrintStream ps) -
Uses of InvalidBERException in org.mozilla.jss.pkix.primitive
Methods in org.mozilla.jss.pkix.primitive that throw InvalidBERExceptionModifier and TypeMethodDescriptionprivate String
Name.AVAToString
(AVA ava) AlgorithmIdentifier.Template.decode
(InputStream istream) AlgorithmIdentifier.Template.decode
(Tag implicit, InputStream istream) Attribute.Template.decode
(InputStream istream) Attribute.Template.decode
(Tag implicit, InputStream istream) AVA.Template.decode
(InputStream istream) AVA.Template.decode
(Tag implicit, InputStream istream) DirectoryString.Template.decode
(InputStream istream) DirectoryString.Template.decode
(Tag implicitTag, InputStream istream) EncryptedPrivateKeyInfo.Template.decode
(InputStream istream) EncryptedPrivateKeyInfo.Template.decode
(Tag implicitTag, InputStream istream) Name.Template.decode
(InputStream istream) Name.Template.decode
(Tag implicit, InputStream istream) PBEParameter.Template.decode
(InputStream istream) PBEParameter.Template.decode
(Tag implicitTag, InputStream istream) PBES2Params.Template.decode
(InputStream istream) PBES2Params.Template.decode
(Tag implicitTag, InputStream istream) PBKDF2Params.Template.decode
(InputStream istream) PBKDF2Params.Template.decode
(Tag implicitTag, InputStream istream) PrivateKeyInfo.Template.decode
(InputStream istream) PrivateKeyInfo.Template.decode
(Tag implicitTag, InputStream istream) RDN.Template.decode
(InputStream istream) RDN.Template.decode
(Tag implicit, InputStream istream) SubjectPublicKeyInfo.Template.decode
(InputStream istream) SubjectPublicKeyInfo.Template.decode
(Tag implicit, InputStream istream) EncryptedPrivateKeyInfo.decrypt
(Password pass, KeyGenerator.CharToByteConverter charToByteConverter) Decrypts an EncryptedPrivateKeyInfo that was encrypted with a PBE algorithm.Name.getRFC1485()
Constructors in org.mozilla.jss.pkix.primitive that throw InvalidBERException -
Uses of InvalidBERException in org.mozilla.jss.SecretDecoderRing
Methods in org.mozilla.jss.SecretDecoderRing that throw InvalidBERExceptionModifier and TypeMethodDescriptionEncoding.Template.decode
(InputStream istream) Encoding.Template.decode
(Tag implicitTag, InputStream istream) byte[]
Encryptor.encrypt
(byte[] plaintext) Encrypts a byte array.