aboutsummaryrefslogtreecommitdiff
path: root/src/main/model/asn1/Encodable.java
blob: 64d5f60155e6b9b50b69db020d66656f47a91272 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package model.asn1;

/**
 * Provides the method of encoding the specific object into a DER sequence of bytes.
 */
@FunctionalInterface
public interface Encodable {
    /**
     * EFFECTS: Encode the object into DER bytes.
     */
    Byte[] encodeDER();
}