Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.bouncycastle.asn1.eac;
 
 
 {
     private static final String ReferenceEncoding = "ISO-8859-1";
 
     private String countryCode;
    private String holderMnemonic;
    private String sequenceNumber;
    public CertificateHolderReference(String countryCodeString holderMnemonicString sequenceNumber)
    {
        this. = countryCode;
        this. = holderMnemonic;
        this. = sequenceNumber;
    }
    CertificateHolderReference(byte[] contents)
    {
        try
        {
            String concat = new String(contents);
            this. = concat.substring(0, 2);
            this. = concat.substring(2, concat.length() - 5);
            this. = concat.substring(concat.length() - 5);
        }
        catch (UnsupportedEncodingException e)
        {
            throw new IllegalStateException(e.toString());
        }
    }
    public String getCountryCode()
    {
        return ;
    }
    public String getHolderMnemonic()
    {
        return ;
    }
    public String getSequenceNumber()
    {
        return ;
    }
    public byte[] getEncoded()
    {
        String ref =  +  + ;
        try
        {
            return ref.getBytes();
        }
        catch (UnsupportedEncodingException e)
        {
            throw new IllegalStateException(e.toString());
        }
    }
New to GrepCode? Check out our FAQ X