Пример #1
0
 /** {@inheritDoc} */
 @Override
 public void handle(final DERParser parser, final ByteBuffer encoded) {
   final byte[] cookie = OctetStringType.readBuffer(encoded);
   if (cookie != null && cookie.length > 0) {
     getObject().setCookie(cookie);
   }
 }
 /** {@inheritDoc} */
 @Override
 public void handle(final DERParser parser, final ByteBuffer encoded) {
   getObject().setAttributeName(OctetStringType.decode(encoded));
 }