Package com.isode.dsapi.encdec
Class OtherASN1EncoderDecoder
java.lang.Object
com.isode.dsapi.encdec.OtherASN1EncoderDecoder
This class contains ASN1 Encoders and Decoders for the types that are not supported by Bouncy castle.
For Example, Encoder/Decoder for ORAddress is not supported by Bouncy castle so methods
for encoding and decoding ORAddress have been defined here.
1. Create an OTHER_NAM_TYPE enum constant in class 2. Define encoder and decoder methods for this types
3. Make sure that they get called for encoding/decoding of this type
by adding the handing in the function
The following steps will be done in order to add support for new type:
OtherName
getDsapiAttributeConverter()
(see the example for OR Address) - Author:
- gb
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the Dsapi Attribute Converter which will convert some attributes into string from ASN1 and vice versa
-
Constructor Details
-
OtherASN1EncoderDecoder
public OtherASN1EncoderDecoder()
-
-
Method Details
-
getDsapiAttributeConverter
Get the Dsapi Attribute Converter which will convert some attributes into string from ASN1 and vice versa- Returns:
- DSAPI Attribute Converter
- Since:
- 14.6
-