asn1 ~master (2019-04-27T14:06:40Z)
Home
Dub
Repo
DistinguishedEncodingRulesElement.fromBytes
asn1
codecs
der
DistinguishedEncodingRulesElement
class
DistinguishedEncodingRulesElement
size_t
fromBytes
(
in
ubyte
[]
bytes
)
Return Value
Type:
size_t
the number of bytes read
Throws
ASN1TagPaddingException
if the tag number is "padded" with "leading zero bytes" (
0x80u
)
ASN1TagOverflowException
if the tag number is too large to fit into a
size_t
ASN1LengthUndefinedException
if the reserved length byte of
0xFF
is encountered
ASN1LengthOverflowException
if the length is too large to fit into a
size_t
ASN1TruncationException
if the tag, length, or value appear to be truncated
ASN1ConstructionException
if the length is indefinite, but the element is marked as being encoded primitively
ASN1LengthException
if indefinite-length encoding is encountered
Meta
Source
See Implementation
asn1
codecs
der
DistinguishedEncodingRulesElement
constructors
this
functions
fromBytes
opCast
properties
basicMultilingualPlaneString
bitString
boolean
characterString
coordinatedUniversalTime
embeddedPresentationDataValue
endOfContent
enumerated
external
generalString
generalizedTime
graphicString
integer
internationalAlphabetNumber5String
nill
numericString
objectDescriptor
objectIdentifier
octetString
printableString
realNumber
relativeObjectIdentifier
sequence
set
teletexString
toBytes
unicodeTransformationFormat8String
universalString
videotexString
visibleString