directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kai Zheng (JIRA)" <>
Subject [jira] [Commented] (DIRKRB-159) Having a decoartor for each type (like BER/CER/DER) of encoding
Date Wed, 06 Jan 2016 03:47:39 GMT


Kai Zheng commented on DIRKRB-159:

Hmm, actually it's still under discussion for future consideration. Thanks.

> Having a decoartor for each type (like BER/CER/DER) of encoding
> ---------------------------------------------------------------
>                 Key: DIRKRB-159
>                 URL:
>             Project: Directory Kerberos
>          Issue Type: Improvement
>            Reporter: Kai Zheng
>             Fix For: 1.0.0-RC2
> Below is from [~elecharny]'s email, giving the thoughts:
> {noformat}
> we do the encoding/decoding in the ASN1 type instances.
> That's ok, but as soon as we have to deal with various type of encoding
> (BER/CER...) this cipple the code with if/else/then. 
> What about having a decoartor for each type of encoding ?
> {noformat}
> Below is [~drankye]'s response in email:
> {noformat}
> I agree. If we're going to support BER and DER both well or new schemes,
> then we need such. It won't introduce API change for the types and is only
> for internal encoding/decoding implementation, right ?
> Could you have a simple illustration or example, 
> say how to do that for the simple Asn1Boolean type ? Thanks.
> {noformat}

This message was sent by Atlassian JIRA

View raw message