Uses of Class
org.wildfly.security.asn1.ASN1Exception
-
Packages that use ASN1Exception Package Description org.wildfly.security.asn1 AS1 constants and utilities.org.wildfly.security.mechanism._private org.wildfly.security.sasl.entity org.wildfly.security.sasl.gs2 org.wildfly.security.util Package to hold utility classes of the Elytron project.org.wildfly.security.x500 Package containing X.500 representations.org.wildfly.security.x500._private org.wildfly.security.x500.cert._private -
-
Uses of ASN1Exception in org.wildfly.security.asn1
Methods in org.wildfly.security.asn1 that throw ASN1Exception Modifier and Type Method Description byte[]ASN1Decoder. decodeBitString()Decode the next ASN.1 element as a bit string.byte[]DERDecoder. decodeBitString()StringASN1Decoder. decodeBitStringAsString()Decode the next ASN.1 element as a bit string.StringDERDecoder. decodeBitStringAsString()default StringASN1Decoder. decodeBMPString()Decode the next ASN.1 element as an BMPString.StringDERDecoder. decodeBMPString()default byte[]ASN1Decoder. decodeBMPStringAsBytes()Decode the next ASN.1 element as an BMPString.byte[]DERDecoder. decodeBMPStringAsBytes()booleanASN1Decoder. decodeBoolean()Decode the next ASN.1 element as a boolean value.booleanDERDecoder. decodeBoolean()StringASN1Decoder. decodeIA5String()Decode the next ASN.1 element as an IA5 string.StringDERDecoder. decodeIA5String()byte[]ASN1Decoder. decodeIA5StringAsBytes()Decode the next ASN.1 element as an IA5 string.byte[]DERDecoder. decodeIA5StringAsBytes()BigIntegerDERDecoder. decodeInteger()voidASN1Decoder. decodeNull()Decode the next ASN.1 element as a null element.voidDERDecoder. decodeNull()StringASN1Decoder. decodeObjectIdentifier()Decode the next ASN.1 element as an object identifier.StringDERDecoder. decodeObjectIdentifier()byte[]ASN1Decoder. decodeOctetString()Decode the next ASN.1 element as an octet string.byte[]DERDecoder. decodeOctetString()StringASN1Decoder. decodeOctetStringAsString()Decode the next ASN.1 element as an octet string.StringASN1Decoder. decodeOctetStringAsString(String charSet)Decode the next ASN.1 element as an octet string.StringDERDecoder. decodeOctetStringAsString()StringDERDecoder. decodeOctetStringAsString(String charSet)StringASN1Decoder. decodePrintableString()Decode the next ASN.1 element as a PrintableString.StringDERDecoder. decodePrintableString()byte[]ASN1Decoder. decodePrintableStringAsBytes()Decode the next ASN.1 element as a PrintableString.byte[]DERDecoder. decodePrintableStringAsBytes()private byte[]DERDecoder. decodeUncheckedStringAsBytes()default StringASN1Decoder. decodeUniversalString()Decode the next ASN.1 element as an UniversalString.StringDERDecoder. decodeUniversalString()default byte[]ASN1Decoder. decodeUniversalStringAsBytes()Decode the next ASN.1 element as an UniversalString.byte[]DERDecoder. decodeUniversalStringAsBytes()default StringASN1Decoder. decodeUtf8String()Decode the next ASN.1 element as an UTF8String.StringDERDecoder. decodeUtf8String()default byte[]ASN1Decoder. decodeUtf8StringAsBytes()Decode the next ASN.1 element as an UTF8String.byte[]DERDecoder. decodeUtf8StringAsBytes()byte[]ASN1Decoder. drainElement()Drain all of the bytes from the next ASN.1 element.byte[]DERDecoder. drainElement()byte[]ASN1Decoder. drainElementValue()Drain the value bytes from the next ASN.1 element.byte[]DERDecoder. drainElementValue()voidASN1Encoder. encodeObjectIdentifier(String objectIdentifier)Encode an ASN.1 object identifier value.voidDEREncoder. encodeObjectIdentifier(String objectIdentifier)private voidDEREncoder. encodeOIDComponent(long value, org.wildfly.common.bytes.ByteStringBuilder contents, int numComponents, int first)private voidDEREncoder. encodeOIDComponent(BigInteger value, org.wildfly.common.bytes.ByteStringBuilder contents, int numComponents, int first)private voidDERDecoder. endConstructedElement(long nextElementIndex)voidASN1Decoder. endExplicit()Advance to the end of an explicitly tagged element.voidDERDecoder. endExplicit()voidASN1Decoder. endSequence()Advance to the end of a sequence.voidDERDecoder. endSequence()voidASN1Decoder. endSet()Advance to the end of a set.voidDERDecoder. endSet()voidASN1Decoder. endSetOf()Advance to the end of a "set of" element.voidDERDecoder. endSetOf()intASN1Decoder. peekType()Retrieve the type of the next ASN.1 element without actually decoding the next element.intDERDecoder. peekType()private intDERDecoder. readLength()private intDERDecoder. readTag()private voidDERDecoder. readTag(int expectedTag)voidASN1Decoder. skipElement()Skip over the next ASN.1 element.voidDERDecoder. skipElement()voidASN1Decoder. startExplicit(int number)Start decoding an ASN.1 explicitly tagged element.voidASN1Decoder. startExplicit(int clazz, int number)Start decoding an ASN.1 explicitly tagged element.voidDERDecoder. startExplicit(int number)voidDERDecoder. startExplicit(int clazz, int number)voidASN1Decoder. startSequence()Start decoding an ASN.1 sequence.voidDERDecoder. startSequence()voidASN1Decoder. startSet()Start decoding an ASN.1 set.voidDERDecoder. startSet()voidASN1Decoder. startSetOf()Start decoding an ASN.1 "set of" element.voidDERDecoder. startSetOf()private intDEREncoder. validateFirstOIDComponent(long value)private intDEREncoder. validateFirstOIDComponent(BigInteger value)static voidASN1. validatePrintableByte(int b)private voidDEREncoder. validateSecondOIDComponent(long second, int first)private voidDEREncoder. validateSecondOIDComponent(BigInteger second, int first)private intDEREncoder. writeLength(int length, org.wildfly.common.bytes.ByteStringBuilder dest) -
Uses of ASN1Exception in org.wildfly.security.mechanism._private
Methods in org.wildfly.security.mechanism._private that return ASN1Exception Modifier and Type Method Description ASN1ExceptionElytronMessages. asnInvalidGeneralNameType()ASN1ExceptionElytronMessages. asnUnexpectedTag()ASN1ExceptionElytronMessages. asnUnrecognisedAlgorithm(String algorithm) -
Uses of ASN1Exception in org.wildfly.security.sasl.entity
Methods in org.wildfly.security.sasl.entity that throw ASN1Exception Modifier and Type Method Description private static GeneralNameEntityUtil. convertToGeneralName(List<?> generalName)private static List<GeneralName>EntityUtil. convertToGeneralNames(Collection<List<?>> generalNames)static X509Certificate[]EntityUtil. decodeCertificateData(DERDecoder decoder)Decode the next element from the given DER decoder as aCertDataelement, which is defined as follows:static List<GeneralName>EntityUtil. decodeGeneralNames(DERDecoder decoder)Decode the next element from the given DER decoder as aGeneralNameselement.static List<TrustedAuthority>EntityUtil. decodeTrustedAuthorities(DERDecoder decoder)Decode the next element from the given DER decoder as a trusted authorities element.static X509Certificate[]EntityUtil. decodeX509CertificateChain(DERDecoder decoder)Decode the next element from the given DER decoder as an X.509 certificate chain.static voidEntityUtil. encodeAlgorithmIdentifier(DEREncoder encoder, String algorithm)Encode anAlgorithmIdentifierusing the given DER encoder, whereAlgorithmIdentifieris defined as:static voidEntityUtil. encodeAlgorithmIdentifier(DEREncoder encoder, String objectIdentifier, boolean omitParametersField)Encode anAlgorithmIdentifierwithout any parameters using the given DER encoder and object identifier, whereAlgorithmIdentifieris defined as:static voidEntityUtil. encodeGeneralNames(DEREncoder encoder, String subjectName, Collection<List<?>> subjectAltNames)static voidEntityUtil. encodeGeneralNames(DEREncoder encoder, List<GeneralName> generalNames)Encode aGeneralNameselement using the given DER encoder, whereGeneralNamesis defined as:static voidEntityUtil. encodeGeneralNames(DEREncoder encoder, GeneralName generalName)Encode aGeneralNameselement consisting of one general name using the given DER encoder.static voidEntityUtil. encodeTrustedAuthorities(DEREncoder encoder, List<TrustedAuthority> trustedAuthorities)Encode an ASN.1 sequence of trusted authorities using the given DER encoder.static voidEntityUtil. encodeX509CertificateChain(DEREncoder encoder, X509Certificate[] certChain)Encode an ASN.1 set of certificates using the given DER encoder and the givenX509Certificatechain. -
Uses of ASN1Exception in org.wildfly.security.sasl.gs2
Methods in org.wildfly.security.sasl.gs2 that throw ASN1Exception Modifier and Type Method Description private byte[]Gs2SaslServer. restoreTokenHeader(byte[] token)Recompute and restore the initial context token header for the given token. -
Uses of ASN1Exception in org.wildfly.security.util
Methods in org.wildfly.security.util that throw ASN1Exception Modifier and Type Method Description protected abstract PAbstractAlgorithmParametersSpiImpl. engineDecode(ASN1Decoder decoder)Decode a parameter instance.protected abstract voidAbstractAlgorithmParametersSpiImpl. engineEncode(ASN1Encoder encoder, P parameters)Encode a parameter instance. -
Uses of ASN1Exception in org.wildfly.security.x500
Methods in org.wildfly.security.x500 that throw ASN1Exception Modifier and Type Method Description abstract voidTrustedAuthority. encodeTo(ASN1Encoder encoder)Encode thisTrustedAuthelement using the given trusted authority and DER encoder, whereTrustedAuthis defined as:private static byte[]GeneralName.IPAddress. parseIPAddress(String strAddress)private static byte[]GeneralName.IPAddress. parseIPv6Address(String strAddress)Constructors in org.wildfly.security.x500 that throw ASN1Exception Constructor Description EDIPartyName(byte[] encodedName)Create anEDIPartyNamethat is defined as:EDIPartyName(byte[] encoded, boolean valueBytesOnly)Create anEDIPartyNamethat is defined as:OtherName(byte[] encodedName)Create anOtherNamethat is defined as:OtherName(String typeId, byte[] encodedValue)Create anOtherNamethat is defined as:X400Address(byte[] encodedName)Create anX400Addressthat is defined as:X400Address(byte[] encoded, boolean valueBytesOnly)Create anX400Addressthat is defined as: -
Uses of ASN1Exception in org.wildfly.security.x500._private
Methods in org.wildfly.security.x500._private that return ASN1Exception Modifier and Type Method Description ASN1ExceptionElytronMessages. asnInvalidGeneralNameForIpAddressType()ASN1ExceptionElytronMessages. asnInvalidGeneralNameForUriType(Throwable cause)ASN1ExceptionElytronMessages. asnInvalidGeneralNameForUriTypeMissingScheme()ASN1ExceptionElytronMessages. asnIpAddressGeneralNameCannotBeResolved(Throwable cause) -
Uses of ASN1Exception in org.wildfly.security.x500.cert._private
Methods in org.wildfly.security.x500.cert._private that return ASN1Exception Modifier and Type Method Description ASN1ExceptionElytronMessages. asnUnexpectedTag()ASN1ExceptionElytronMessages. asnUnrecognisedAlgorithm(String algorithm)
-