Parent Directory | Revision Log | Patch
revision 1.1.2.1 by gnu_andrew, Thu Jan 13 22:40:37 2005 UTC | revision 1.1.2.2 by gnu_andrew, Thu Apr 28 23:00:12 2005 UTC | |
---|---|---|
# | Line 119 public class DERValue implements DER | Line 119 public class DERValue implements DER |
119 | return value; | return value; |
120 | } | } |
121 | ||
122 | public Object getValueAs (final int derType) throws IOException | |
123 | { | |
124 | byte[] encoded = getEncoded (); | |
125 | encoded[0] = (byte) derType; | |
126 | return DERReader.read (encoded).getValue (); | |
127 | } | |
128 | ||
129 | public byte[] getEncoded() | public byte[] getEncoded() |
130 | { | { |
131 | if (encoded == null) | if (encoded == null) |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |