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()
String
ASN1Decoder. decodeBitStringAsString()
Decode the next ASN.1 element as a bit string.String
DERDecoder. decodeBitStringAsString()
default String
ASN1Decoder. decodeBMPString()
Decode the next ASN.1 element as an BMPString.String
DERDecoder. decodeBMPString()
default byte[]
ASN1Decoder. decodeBMPStringAsBytes()
Decode the next ASN.1 element as an BMPString.byte[]
DERDecoder. decodeBMPStringAsBytes()
boolean
ASN1Decoder. decodeBoolean()
Decode the next ASN.1 element as a boolean value.boolean
DERDecoder. decodeBoolean()
String
ASN1Decoder. decodeIA5String()
Decode the next ASN.1 element as an IA5 string.String
DERDecoder. decodeIA5String()
byte[]
ASN1Decoder. decodeIA5StringAsBytes()
Decode the next ASN.1 element as an IA5 string.byte[]
DERDecoder. decodeIA5StringAsBytes()
BigInteger
DERDecoder. decodeInteger()
void
ASN1Decoder. decodeNull()
Decode the next ASN.1 element as a null element.void
DERDecoder. decodeNull()
String
ASN1Decoder. decodeObjectIdentifier()
Decode the next ASN.1 element as an object identifier.String
DERDecoder. decodeObjectIdentifier()
byte[]
ASN1Decoder. decodeOctetString()
Decode the next ASN.1 element as an octet string.byte[]
DERDecoder. decodeOctetString()
String
ASN1Decoder. decodeOctetStringAsString()
Decode the next ASN.1 element as an octet string.String
ASN1Decoder. decodeOctetStringAsString(String charSet)
Decode the next ASN.1 element as an octet string.String
DERDecoder. decodeOctetStringAsString()
String
DERDecoder. decodeOctetStringAsString(String charSet)
String
ASN1Decoder. decodePrintableString()
Decode the next ASN.1 element as a PrintableString.String
DERDecoder. decodePrintableString()
byte[]
ASN1Decoder. decodePrintableStringAsBytes()
Decode the next ASN.1 element as a PrintableString.byte[]
DERDecoder. decodePrintableStringAsBytes()
private byte[]
DERDecoder. decodeUncheckedStringAsBytes()
default String
ASN1Decoder. decodeUniversalString()
Decode the next ASN.1 element as an UniversalString.String
DERDecoder. decodeUniversalString()
default byte[]
ASN1Decoder. decodeUniversalStringAsBytes()
Decode the next ASN.1 element as an UniversalString.byte[]
DERDecoder. decodeUniversalStringAsBytes()
default String
ASN1Decoder. decodeUtf8String()
Decode the next ASN.1 element as an UTF8String.String
DERDecoder. 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()
void
ASN1Encoder. encodeObjectIdentifier(String objectIdentifier)
Encode an ASN.1 object identifier value.void
DEREncoder. encodeObjectIdentifier(String objectIdentifier)
private void
DEREncoder. encodeOIDComponent(long value, org.wildfly.common.bytes.ByteStringBuilder contents, int numComponents, int first)
private void
DEREncoder. encodeOIDComponent(BigInteger value, org.wildfly.common.bytes.ByteStringBuilder contents, int numComponents, int first)
private void
DERDecoder. endConstructedElement(long nextElementIndex)
void
ASN1Decoder. endExplicit()
Advance to the end of an explicitly tagged element.void
DERDecoder. endExplicit()
void
ASN1Decoder. endSequence()
Advance to the end of a sequence.void
DERDecoder. endSequence()
void
ASN1Decoder. endSet()
Advance to the end of a set.void
DERDecoder. endSet()
void
ASN1Decoder. endSetOf()
Advance to the end of a "set of" element.void
DERDecoder. endSetOf()
int
ASN1Decoder. peekType()
Retrieve the type of the next ASN.1 element without actually decoding the next element.int
DERDecoder. peekType()
private int
DERDecoder. readLength()
private int
DERDecoder. readTag()
private void
DERDecoder. readTag(int expectedTag)
void
ASN1Decoder. skipElement()
Skip over the next ASN.1 element.void
DERDecoder. skipElement()
void
ASN1Decoder. startExplicit(int number)
Start decoding an ASN.1 explicitly tagged element.void
ASN1Decoder. startExplicit(int clazz, int number)
Start decoding an ASN.1 explicitly tagged element.void
DERDecoder. startExplicit(int number)
void
DERDecoder. startExplicit(int clazz, int number)
void
ASN1Decoder. startSequence()
Start decoding an ASN.1 sequence.void
DERDecoder. startSequence()
void
ASN1Decoder. startSet()
Start decoding an ASN.1 set.void
DERDecoder. startSet()
void
ASN1Decoder. startSetOf()
Start decoding an ASN.1 "set of" element.void
DERDecoder. startSetOf()
private int
DEREncoder. validateFirstOIDComponent(long value)
private int
DEREncoder. validateFirstOIDComponent(BigInteger value)
static void
ASN1. validatePrintableByte(int b)
private void
DEREncoder. validateSecondOIDComponent(long second, int first)
private void
DEREncoder. validateSecondOIDComponent(BigInteger second, int first)
private int
DEREncoder. 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 ASN1Exception
ElytronMessages. asnInvalidGeneralNameType()
ASN1Exception
ElytronMessages. asnUnexpectedTag()
ASN1Exception
ElytronMessages. 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 GeneralName
EntityUtil. 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 aCertData
element, which is defined as follows:static List<GeneralName>
EntityUtil. decodeGeneralNames(DERDecoder decoder)
Decode the next element from the given DER decoder as aGeneralNames
element.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 void
EntityUtil. encodeAlgorithmIdentifier(DEREncoder encoder, String algorithm)
Encode anAlgorithmIdentifier
using the given DER encoder, whereAlgorithmIdentifier
is defined as:static void
EntityUtil. encodeAlgorithmIdentifier(DEREncoder encoder, String objectIdentifier, boolean omitParametersField)
Encode anAlgorithmIdentifier
without any parameters using the given DER encoder and object identifier, whereAlgorithmIdentifier
is defined as:static void
EntityUtil. encodeGeneralNames(DEREncoder encoder, String subjectName, Collection<List<?>> subjectAltNames)
static void
EntityUtil. encodeGeneralNames(DEREncoder encoder, List<GeneralName> generalNames)
Encode aGeneralNames
element using the given DER encoder, whereGeneralNames
is defined as:static void
EntityUtil. encodeGeneralNames(DEREncoder encoder, GeneralName generalName)
Encode aGeneralNames
element consisting of one general name using the given DER encoder.static void
EntityUtil. encodeTrustedAuthorities(DEREncoder encoder, List<TrustedAuthority> trustedAuthorities)
Encode an ASN.1 sequence of trusted authorities using the given DER encoder.static void
EntityUtil. encodeX509CertificateChain(DEREncoder encoder, X509Certificate[] certChain)
Encode an ASN.1 set of certificates using the given DER encoder and the givenX509Certificate
chain. -
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 P
AbstractAlgorithmParametersSpiImpl. engineDecode(ASN1Decoder decoder)
Decode a parameter instance.protected abstract void
AbstractAlgorithmParametersSpiImpl. 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 void
TrustedAuthority. encodeTo(ASN1Encoder encoder)
Encode thisTrustedAuth
element using the given trusted authority and DER encoder, whereTrustedAuth
is 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 anEDIPartyName
that is defined as:EDIPartyName(byte[] encoded, boolean valueBytesOnly)
Create anEDIPartyName
that is defined as:OtherName(byte[] encodedName)
Create anOtherName
that is defined as:OtherName(String typeId, byte[] encodedValue)
Create anOtherName
that is defined as:X400Address(byte[] encodedName)
Create anX400Address
that is defined as:X400Address(byte[] encoded, boolean valueBytesOnly)
Create anX400Address
that 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 ASN1Exception
ElytronMessages. asnInvalidGeneralNameForIpAddressType()
ASN1Exception
ElytronMessages. asnInvalidGeneralNameForUriType(Throwable cause)
ASN1Exception
ElytronMessages. asnInvalidGeneralNameForUriTypeMissingScheme()
ASN1Exception
ElytronMessages. 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 ASN1Exception
ElytronMessages. asnUnexpectedTag()
ASN1Exception
ElytronMessages. asnUnrecognisedAlgorithm(String algorithm)
-